Skip to content

Commit 087b165

Browse files
MoLowFyko
authored andcommitted
doc: add missing test runner option
PR-URL: nodejs#43989 Refs: nodejs#43554 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent ea7f140 commit 087b165

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
@@ -324,6 +324,9 @@ changes:
324324
- version: REPLACEME
325325
pr-url: https://github.com./nodejs/node/pull/43505
326326
description: Add a `timeout` option.
327+
- version: REPLACEME
328+
pr-url: https://github.com./nodejs/node/pull/43554
329+
description: Add a `signal` option.
327330
-->
328331

329332
* `name` {string} The name of the test, which is displayed when reporting test
@@ -556,6 +559,9 @@ changes:
556559
- version: REPLACEME
557560
pr-url: https://github.com./nodejs/node/pull/43505
558561
description: Add a `timeout` option.
562+
- version: REPLACEME
563+
pr-url: https://github.com./nodejs/node/pull/43554
564+
description: Add a `signal` option.
559565
-->
560566

561567
* `name` {string} The name of the subtest, which is displayed when reporting
@@ -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)