zlwu dd667101ef first commit 1 rok temu
..
CHANGELOG.md dd667101ef first commit 1 rok temu
LICENSE dd667101ef first commit 1 rok temu
README.md dd667101ef first commit 1 rok temu
index.d.ts dd667101ef first commit 1 rok temu
index.js dd667101ef first commit 1 rok temu
package.json dd667101ef first commit 1 rok temu

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();