karma-nodewebkit-mocha
v0.1.0
Published
Karma plugin to allow Mocha to run in NW.js
Downloads
1,736
Maintainers
Readme
karma-nodewebkit-mocha
Karma plugin to allow Mocha to run in NW.js.
This plugin compensates for the wrong global variable being used when loading Mocha in NW.js
For more details see the GitHub issue that details the problem
Usage
npm install karma-nodewebkit-mocha karma-mocha --save-dev
In your karma.conf
frameworks
use nodewebkit-mocha
instead of mocha
.
To see plugin in action, see the test/karma
project.
This plugin wraps karma-mocha
and still requires it to be installed.
License
MIT