Skip to content

Commit 51db352

Browse files
MoLowdanielleadams
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 091d015 commit 51db352

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/api/test.md

Lines changed: 7 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy