mocha-run

0.1.0 • Public • Published

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; }

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i mocha-run

      Weekly Downloads

      1

      Version

      0.1.0

      License

      BSD

      Last publish

      Collaborators

      • mixu