detect-mocha
Detect if Mocha is running
Last updated 4 years ago by andreaspizsa .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install detect-mocha 
SYNC missed versions from official npm registry.

detect-mocha Travis Coverage Status Coverage Status Downloads

Detect if Mocha is running

Install

Install with npm

$ npm i detect-mocha --save

Usage

var detectMocha = require('detect-mocha');
if(detectMocha()) {
  // doSomethingFancy
}

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Andreas Pizsa

License

Copyright © 2016 Andreas Pizsa Released under the MIT license.


This file was generated by verb-cli on February 23, 2016.

Current Tags

  • 0.1.0                                ...           latest (4 years ago)

1 Versions

  • 0.1.0                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |