Skip to content

Commit bb29508

Browse files
Trottcodebytere
authored andcommitted
doc: add link for v8.takeCoverage()
PR-URL: #36135 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent 7086f2e commit bb29508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/v8.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ added: v15.1.0
247247
The `v8.stopCoverage()` method allows the user to stop the coverage collection
248248
started by [`NODE_V8_COVERAGE`][], so that V8 can release the execution count
249249
records and optimize code. This can be used in conjunction with
250-
`v8.takeCoverage()` if the user wants to collect the coverage on demand.
250+
[`v8.takeCoverage()`][] if the user wants to collect the coverage on demand.
251251

252252
## `v8.writeHeapSnapshot([filename])`
253253
<!-- YAML
@@ -557,5 +557,6 @@ A subclass of [`Deserializer`][] corresponding to the format written by
557557
[`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer
558558
[`serializer.writeRawBytes()`]: #v8_serializer_writerawbytes_buffer
559559
[`v8.stopCoverage()`]: #v8_v8_stopcoverage
560+
[`v8.takeCoverage()`]: #v8_v8_takecoverage
560561
[`vm.Script`]: vm.md#vm_new_vm_script_code_options
561562
[worker threads]: worker_threads.md

0 commit comments

Comments
 (0)