Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mocha-nocache

0.1.0 • Public • Published

This is a very simple fork of Mocha.

The main difference that this fork brings is to reset the require cache before requiring each test file. This lets you not worry about requires in different test files stomping over each other.

Todo: reset the global before running each test file, this way each test file will be truly isolated outside of modifying "this".

install

npm i mocha-nocache

Downloadsweekly downloads

3

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar