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 7af55db

Browse filesBrowse files
MoLowruyadorno
authored andcommitted
doc: add missing test runner option
PR-URL: #43989 Refs: #43554 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 1175d90 commit 7af55db
Copy full SHA for 7af55db

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/test.md‎

Copy file name to clipboardExpand all lines: doc/api/test.md
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ internally.
321321
<!-- YAML
322322
added: v18.0.0
323323
changes:
324+
- version: REPLACEME
325+
pr-url: https://github.com/nodejs/node/pull/43554
326+
description: Add a `signal` option.
324327
- version: v18.7.0
325328
pr-url: https://github.com/nodejs/node/pull/43505
326329
description: Add a `timeout` option.
@@ -553,6 +556,9 @@ test('top level test', (t) => {
553556
<!-- YAML
554557
added: v18.0.0
555558
changes:
559+
- version: REPLACEME
560+
pr-url: https://github.com/nodejs/node/pull/43554
561+
description: Add a `signal` option.
556562
- version: v18.7.0
557563
pr-url: https://github.com/nodejs/node/pull/43505
558564
description: Add a `timeout` option.
@@ -569,6 +575,7 @@ changes:
569575
* `only` {boolean} If truthy, and the test context is configured to run
570576
`only` tests, then this test will be run. Otherwise, the test is skipped.
571577
**Default:** `false`.
578+
* `signal` {AbortSignal} Allows aborting an in-progress test
572579
* `skip` {boolean|string} If truthy, the test is skipped. If a string is
573580
provided, that string is displayed in the test results as the reason for
574581
skipping the test. **Default:** `false`.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.