Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bb29508

Browse filesBrowse files
Trottcodebytere
authored andcommitted
doc: add link for v8.takeCoverage()
PR-URL: #36135 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent 7086f2e commit bb29508
Copy full SHA for bb29508

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/v8.md‎

Copy file name to clipboardExpand all lines: doc/api/v8.md
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.