1.4.0 • Published 10 years ago

unset-timeout v1.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

unsetTimeout npm version npm Build Status

Your mocha tests use setTimeout or setInterval? Not sure how to get proper test isolation? Simply put this in your mocha test:

require('unset-timeout');

unsetTimeout will reset all the setTimeout and setInterval calls after each mocha test, so you can be sure that one test doesn't bleed into another.

1.4.0

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago