Détail du package

bare-cov

holepunchto21.9kApache-2.01.1.1

Generate coverage reports using Bare and Node.js

bare, coverage, node, pear

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