zlwu dd667101ef first commit há 1 ano atrás
..
CHANGELOG.md dd667101ef first commit há 1 ano atrás
LICENSE dd667101ef first commit há 1 ano atrás
README.md dd667101ef first commit há 1 ano atrás
index.d.ts dd667101ef first commit há 1 ano atrás
index.js dd667101ef first commit há 1 ano atrás
package.json dd667101ef first commit há 1 ano atrás

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