doc: add link for v8.takeCoverage()

PR-URL: https://github.com/nodejs/node/pull/36135
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
Rich Trott authored and Shelley Vohr committed 2020-11-22 13:15:16 -08:00
1 parent 7086f2e653
commit bb29508e8f
1 file changed
+2 -1
+2 -1
View File
@@ -247,7 +247,7 @@ added: v15.1.0
The `v8.stopCoverage()` method allows the user to stop the coverage collection
started by [`NODE_V8_COVERAGE`][], so that V8 can release the execution count
records and optimize code. This can be used in conjunction with
`v8.takeCoverage()` if the user wants to collect the coverage on demand.
[`v8.takeCoverage()`][] if the user wants to collect the coverage on demand.
## `v8.writeHeapSnapshot([filename])`
<!-- YAML
@@ -557,5 +557,6 @@ A subclass of [`Deserializer`][] corresponding to the format written by
[`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer
[`serializer.writeRawBytes()`]: #v8_serializer_writerawbytes_buffer
[`v8.stopCoverage()`]: #v8_v8_stopcoverage
[`v8.takeCoverage()`]: #v8_v8_takecoverage
[`vm.Script`]: vm.md#vm_new_vm_script_code_options
[worker threads]: worker_threads.md