mocha-run

Run mocha files using `node testfile.js`

npm install mocha-run
1 downloads in the last week
6 downloads in the last month

mocha-run

Allows you to run mocha test files using node testfile.js.

Add the following preamble to your mocha test files:

// allows you to run this file using `node file.js`
if(require('mocha-run')()) { return; }
npm loves you