mocha-cli
The local mocha executor.
Installation
> npm install -g mocha-cli
Note:
- The
mocha
module must not be installed into global. - This module must be installed into global.
Usage
First, please install themocha
module in local.> npm install --save-dev mocha
Next, please do
mocha
.> mocha
This command executes the global
mocha-cli
, then it finds and executes the local mocha
.That's all. Enjoy!
PS. Copied heavily from https://github.com/mysticatea/eslint-cli