mocha-bootstrap
v1.0.6
Published
Standard test harness for using Mocha with Sinon and Chai
Downloads
3,718
Readme
Mocha test bootstrap
Sets up Sinon, Chai as Promised, Sinon-Chai and Chai as Promised.
Also installs an accelerated implementation of Sinon's .createStubInstance(...)
method for speed.
Usage
First install with NPM:
npm install --save-dev mocha-bootstrap
then require the bootstrap when running Mocha, for example:
mocha -r mocha-bootstrap --recursive test/unit/