tradie-plugin-coverage
v2.0.0-preview.4
Published
Adds code coverage to `tradie`.
Downloads
47
Readme
tradie-plugin-coverage
Adds code coverage to tradie
.
Installation
npm install --save tradie-plugin-coverage
Usage
- Configure
tradie.config.js
:
var coverage = require('tradie-plugin-coverage');
module.exports = {
plugins: [
coverage({
thresholds: {
statements: 90,
branches: 90,
functions: 90,
lines: 90
},
reports: ['html']
})
]
};
- Run
tradie test
.
To do
- consider
remap-istanbul
instead ofisparta
?