source: frontend/node_modules/collect-v8-coverage/README.md

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 377 bytes
Line 
1# collect-v8-coverage
2
3Use this module to start and stop the V8 inspector manually and collect precise coverage.
4
5```js
6const {CoverageInstrumenter} = require('collect-v8-coverage');
7
8const instrumenter = new CoverageInstrumenter();
9
10await instrumenter.startInstrumenting();
11
12// require some modules, run some code
13
14const coverage = await instrumenter.stopInstrumenting();
15```
Note: See TracBrowser for help on using the repository browser.