mocha-no-hooks-tick
v1.0.0
Published
simple, flexible, fun test framework
Downloads
3
Readme
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.