Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

simple-mocha

harish270467MIT0.0.9

Simple stupid implementation of Mocha test runner. Tests can be run directly within node as any Nodejs code.

mocha, test runner, testing, bdd, tdd

readme

simple-mocha

Simple stupid implementation of Mocha test runner. Tests can be run directly within node as any Nodejs code.

Usage

npm install simple-mocha
require('simple-mocha');
// add the above line to test file and run tests using
// node test-file.spec.js