tradie-plugin-coverage
v2.0.0-preview.4
Published
Adds code coverage to `tradie`.
Readme
tradie-plugin-coverage
Adds code coverage to tradie.
Installation
npm install --save tradie-plugin-coverageUsage
- 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-istanbulinstead ofisparta?
