run-mocha

Function that converts an object into a mocha suite. Useful for sharing tests with the browser that use an 'export' like interface

run-mocha

Function that converts an object into a mocha suite. Useful for sharing tests with the browser that use an 'export' like interface

npm install --save run-mocha

Clone, install dependencies and re-test whenever some file is modified:

git clone git://github.com/tarruda/run-mocha.git
cd run-mocha
npm install
grunt