Skip to content

Commit 7af55db

Browse files
MoLowruyadorno
authored andcommitted
doc: add missing test runner option
PR-URL: #43989 Refs: #43554 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 1175d90 commit 7af55db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/api/test.md

+7
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)