bare-cov
v1.0.1
Published
Generate coverage reports using Bare and Node.js
Downloads
4,983
Maintainers
Readme
bare-cov
Run tests with coverage
Installation
npm i bare-cov
Usage
// Record coverage until current process ends and then generate reports
require('bare-cov')(options)
Options
reporters
Coverage reporter(s) to use (default: ['text', 'json']
)
reporterOptions
Options to pass to each reporter keyed by reporter (default: {}
)
dir
Directory to write coverage reports to (default: coverage
)
skipRawDump
Skip saving of raw v8 coverage data to disk (default: false
)
License
Apache-2.0