@zokugun/istanbul.cover allows you to configure how Istanbul covers your code generates the reports.
It will look for the config file istanbul.json
{
"reporting": {
"print": "summary",
"reports": [
"minimap:@zokugun/istanbul.reporter.minimap"
],
"watermarks": {
"statements": [80, 90],
"lines": [80, 90],
"functions": [80, 90],
"branches": [70, 80]
}
},
"cover": {
"cmd": "@zokugun/istanbul.cover.cmd.mocha",
"args": ["-R", "spec"]
}
}
To launch Istanbul, use the command node node_modules/zokugun.istanbul.cover/src/cli.js
.
Copyright © 2016 Baptiste Augrain
Licensed under the MIT license.