collect-v8-coverage
Use this module to start and stop the V8 inspector manually and collect precise coverage.
Last updated 3 months ago by simenb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install collect-v8-coverage 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (3 months ago)

2 Versions

  • 1.0.1                                ...           3 months ago
  • 1.0.0                                ...           7 months ago

Copyright 2014 - 2016 © taobao.org |