Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fabioricali/mocha-is-running

Very simple module that detect if process is started by Mocha. Zero dipendencies.
https://github.com/fabioricali/mocha-is-running

detection mocha nodejs test

Last synced: 20 days ago
JSON representation

Very simple module that detect if process is started by Mocha. Zero dipendencies.

Awesome Lists containing this project

README

        


mocha-is-running


Very simple module that detect if process is started by Mocha. Zero dependencies






## Installation

```
npm install mocha-is-running --save
```

## Example

```javascript
const mochaIsRunning = require('mocha-is-running');
console.log(mochaIsRunning()) //=> true or false;
```

## Changelog
You can view the changelog here

## License
mocha-is-running is open-sourced software licensed under the MIT license

## Authors
Fabio Ricali