spa/.claude/skills/thread-manager/node_modules/collect-v8-coverage
Yvan 6584c91ed1 init 2025-12-30 15:44:36 +08:00
..
CHANGELOG.md init 2025-12-30 15:44:36 +08:00
LICENSE init 2025-12-30 15:44:36 +08:00
README.md init 2025-12-30 15:44:36 +08:00
index.d.ts init 2025-12-30 15:44:36 +08:00
index.js init 2025-12-30 15:44:36 +08:00
package.json init 2025-12-30 15:44:36 +08:00

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