Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mocha-cli

halkeye3.4kMIT1.0.1

The local mocha executor.

mocha, cli

readme

mocha-cli

npm version Downloads/month Dependency Status

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 the mocha 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