diff options
Diffstat (limited to 'doc/api/test.md')
-rw-r--r-- | doc/api/test.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/test.md b/doc/api/test.md index c7a042b5efe..bef97c4b191 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -321,7 +321,7 @@ internally. <!-- YAML added: v18.0.0 changes: - - version: REPLACEME + - version: v18.7.0 pr-url: https://github.com/nodejs/node/pull/43505 description: Add a `timeout` option. --> @@ -498,7 +498,7 @@ test('top level test', (t) => { ### `context.signal` <!-- YAML -added: REPLACEME +added: v18.7.0 --> * <AbortSignal> Can be used to abort test subtasks when the test has been aborted. @@ -553,7 +553,7 @@ test('top level test', (t) => { <!-- YAML added: v18.0.0 changes: - - version: REPLACEME + - version: v18.7.0 pr-url: https://github.com/nodejs/node/pull/43505 description: Add a `timeout` option. --> @@ -602,7 +602,7 @@ test('top level test', async (t) => { ## Class: `SuiteContext` <!-- YAML -added: REPLACEME +added: v18.7.0 --> An instance of `SuiteContext` is passed to each suite function in order to @@ -612,7 +612,7 @@ exposed as part of the API. ### `context.signal` <!-- YAML -added: REPLACEME +added: v18.7.0 --> * <AbortSignal> Can be used to abort test subtasks when the test has been aborted. |