mocha-is-running

1.0.6 • Public • Published

mocha-is-running

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

Installation

npm install mocha-is-running --save

Example

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

Package Sidebar

Install

npm i mocha-is-running

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

56 kB

Total Files

15

Last publish

Collaborators

  • fabioricali