You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Slink64bit 038457ade7
Initial commit
1 year ago
..
CHANGELOG.md Initial commit 1 year ago
LICENSE Initial commit 1 year ago
README.md Initial commit 1 year ago
index.d.ts Initial commit 1 year ago
index.js Initial commit 1 year ago
package.json Initial commit 1 year ago

README.md

collect-v8-coverage

Use this module to start and stop the V8 inspector manually and collect precise coverage.

const {CoverageInstrumenter} = require('collect-v8-coverage');

const instrumenter = new CoverageInstrumenter();

await instrumenter.startInstrumenting();

// require some modules, run some code

const coverage = await instrumenter.stopInstrumenting();