Grunt task for running mocha specs in a headless browser (PhantomJS) and generating code coverage from Istanbul instrumented source
Automatically run client-side mocha specs via grunt/mocha/PhantomJS and support tracking code coverage with istanbul.
See grunt-mocha for all additional options that it supports.
The options for this are specified in the coverage object.
The file to write the coverage json data to.
mocha:test:files: 'tests/**/*.html'options:coverage:coverageFile: 'somePath/myCoverage.json'
Licensed under the MIT license.