run-mocha

Function that converts an object into a mocha suite. Useful for sharing tests with the browser that use an 'export' like interface

npm install run-mocha
4 downloads in the last week
33 downloads in the last month

run-mocha

Function that converts an object into a mocha suite. Useful for sharing tests with the browser that use an 'export' like interface

Installation

npm install --save run-mocha

Usage

Development

Clone, install dependencies and re-test whenever some file is modified:

git clone git://github.com/tarruda/run-mocha.git
cd run-mocha
npm install
grunt
npm loves you