mocha-no-hooks-tick

1.0.0 • Public • Published

This module is a fork of mocha which makes just one small change.

In standard mocha, a tick is introduced in between running hooks (e.g. beforeEach) which are in a nested set of describe blocks. This makes it difficult to use mocha to test constructs like Promises where whether a tick has passed or not may be part of the subject under test. See this issue.

This module is identical to mocha except this additional tick is removed.

/mocha-no-hooks-tick/

    Package Sidebar

    Install

    npm i mocha-no-hooks-tick

    Homepage

    mochajs.org

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • overlookmotel