Package Exports
- detect-mocha
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (detect-mocha) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
detect-mocha

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.