From ed6dac2a58188f26085514fb0a0a5412ade474cb Mon Sep 17 00:00:00 2001 From: Moshe Atlow Date: Mon, 25 Jul 2022 23:17:25 +0300 Subject: [PATCH] doc: add missing test runner option --- doc/api/test.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/api/test.md b/doc/api/test.md index c7a042b5efe19c..e10807e6055814 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -324,6 +324,9 @@ changes: - version: REPLACEME pr-url: https://github.com/nodejs/node/pull/43505 description: Add a `timeout` option. + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/43989 + description: Add a `signal` option. --> * `name` {string} The name of the test, which is displayed when reporting test @@ -556,6 +559,9 @@ changes: - version: REPLACEME pr-url: https://github.com/nodejs/node/pull/43505 description: Add a `timeout` option. + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/43989 + description: Add a `signal` option. --> * `name` {string} The name of the subtest, which is displayed when reporting @@ -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`.