mocha-plugin-highland
A mocha plugin to enable Highland stream (using highland) support.
Installation
npm install --save-dev mocha-plugin-highland
- just add
-r mocha-plugin-highland
in your mocha command line npm script inpackage.json
Example Usage
;var fs = ;var _ = ; var readFile = _; ;
How It Works
The module monkey patches the Runnable.prototype.run
method of mocha
to enable the usage of Highland streams. In contrast to other npm packages, this is a plugin and extends mocha
at runtime - allowing you to use any compatible mocha version.
License
MIT