karma-mocha-debug
Improve karma-mocha plugin
Installation
The easiest way is to keep karma-mocha-debug
as a devDependency in your package.json
.
You can simple do it by:
npm install karma-mocha-debug --save-dev
Configuration
You should put mocha-debug before mocha
// karma.conf.jsmodule { config;};
Usage
Mocha HTML reporter on debug page.
Now you can open http://localhost:9876/debug.html and see mocha html report instead default karma console report.
Run grep from console.
You can use mocha grep from console.
karma start &karma run -- --grep=my_test
For more information on Karma see the homepage.