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'
The directory to write a full lcov coverage report.
mocha:test:files: 'tests/**/*.html'options:coverage:dir: 'somePath'
Licensed under the MIT license.