https://github.com/halkeye/mocha-cli
https://github.com/halkeye/mocha-cli
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/halkeye/mocha-cli
- Owner: halkeye
- License: mit
- Created: 2016-02-16T21:03:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T19:33:32.000Z (over 6 years ago)
- Last Synced: 2025-09-10T11:04:19.104Z (9 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mocha-cli
[](https://www.npmjs.com/package/mocha-cli)
[](https://www.npmjs.com/package/mocha-cli)
[](https://david-dm.org/halkeye/mocha-cli)
The local [mocha](https://github.com/mochajs/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