mocha-run

v0.1.0
Run mocha files using `node testfile.js`
mocha

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 i mocha-run

Metadata

  • BSD
  • Whatever
  • Mikito Takada
  • released 8/2/2013

Downloads

Maintainers