Numerous Problems Multiplied
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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.

install

npm i mocha-no-hooks-tick

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

mochajs.org

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability