Sandbox loading of modules for each test file.
Each test file will have it's own instance of all dependencies. This helps in avoiding state to leak between tests.
$ npm install --save-dev mocha-sandboxed-module-loader
mocha --require=mocha-sandboxed-module-loader test/test.js
MIT © Johan Blumenberg