From 5d309ff52cd399a6b71968a6b9a70c8ac0b98981 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 5 Mar 2022 19:02:27 +0200 Subject: Added node_modules for the updating to work properly. --- node_modules/collect-v8-coverage/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 node_modules/collect-v8-coverage/README.md (limited to 'node_modules/collect-v8-coverage/README.md') diff --git a/node_modules/collect-v8-coverage/README.md b/node_modules/collect-v8-coverage/README.md new file mode 100644 index 0000000..c5240d6 --- /dev/null +++ b/node_modules/collect-v8-coverage/README.md @@ -0,0 +1,15 @@ +# collect-v8-coverage + +Use this module to start and stop the V8 inspector manually and collect precise coverage. + +```js +const {CoverageInstrumenter} = require('collect-v8-coverage'); + +const instrumenter = new CoverageInstrumenter(); + +await instrumenter.startInstrumenting(); + +// require some modules, run some code + +const coverage = await instrumenter.stopInstrumenting(); +``` -- cgit v1.2.3