About 64 results
Open links in new tab
  1. Mocha | Classic, reliable, trusted. ☕

    3 days ago · Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing straightforward and fun. Mocha tests run serially, …

  2. Mocha - Documentation

    Mar 6, 2011 · Enables or disables whether or not to dispose after each test run. Disable this to ensure you can run the test suite multiple times. If disabled, be sure to dispose mocha when …

  3. Mocha's API Documentation

    Mar 6, 2011 · You've found Mocha's API documentation. These docs are for developers who wish to: Create an extension for Mocha, or Develop Mocha itself, or Do something else fancy with …

  4. Getting Started | Mocha

    Getting Started 1. Installation First, install the mocha package as a devDependency using your favorite package manager:

  5. Mocha - the fun, simple, flexible JavaScript test framework

    Jan 1, 2026 · Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for …

  6. Array - Mocha

    Array .push () should append a value ‣ should return the length ‣ with many arguments should add the values ‣ .unshift () should prepend a value ‣ should return the length ‣ with many …

  7. mocha.js - Documentation

    * It's useful for a Mocha instance to know if it's running in a worker process. * We could derive this via other means, but it's helpful to have a flag to refer to.

  8. Global - Documentation

    Mar 6, 2011 · Arguments Global Global Documentation generated by JSDoc 3.6.11using the @mocha/docdashtheme.

  9. Context - Documentation

    Mar 6, 2011 · Source: context.js, line 14 Expose Context. Documentation generated by JSDoc 3.6.11using the @mocha/docdashtheme.

  10. Dynamic Tests | Mocha

    Given Mocha’s use of function expressions to define suites and test cases, it’s straightforward to generate your tests dynamically. No special syntax is required—plain old JavaScript can be …