doc: add missing test runner option

PR-URL: https://github.com/nodejs/node/pull/43989
Refs: https://github.com/nodejs/node/pull/43554
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
Moshe Atlow authored and Ruy Adorno committed 2022-08-22 19:36:49 -04:00
1 parent 1175d9036a
commit 7af55dbc40
1 file changed
+7
+7
View File
@@ -321,6 +321,9 @@ internally.
<!-- YAML
added: v18.0.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
@@ -553,6 +556,9 @@ test('top level test', (t) => {
<!-- YAML
added: v18.0.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
@@ -569,6 +575,7 @@ changes:
* `only` {boolean} If truthy, and the test context is configured to run
`only` tests, then this test will be run. Otherwise, the test is skipped.
**Default:** `false`.
* `signal` {AbortSignal} Allows aborting an in-progress test
* `skip` {boolean|string} If truthy, the test is skipped. If a string is
provided, that string is displayed in the test results as the reason for
skipping the test. **Default:** `false`.