Skip to content

Commit 9856fc7

Browse files
aduh95danielleadams
authored andcommitted
doc: fix typos in test.md
PR-URL: #43997 Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent f6a7019 commit 9856fc7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/api/test.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ changes:
345345
* `only` {boolean} If truthy, and the test context is configured to run
346346
`only` tests, then this test will be run. Otherwise, the test is skipped.
347347
**Default:** `false`.
348-
* `signal` {AbortSignal} Allows aborting an in-progress test
348+
* `signal` {AbortSignal} Allows aborting an in-progress test.
349349
* `skip` {boolean|string} If truthy, the test is skipped. If a string is
350350
provided, that string is displayed in the test results as the reason for
351351
skipping the test. **Default:** `false`.
@@ -504,7 +504,8 @@ test('top level test', (t) => {
504504
added: v18.7.0
505505
-->
506506

507-
* <AbortSignal> Can be used to abort test subtasks when the test has been aborted.
507+
* {AbortSignal} Can be used to abort test subtasks when the test has been
508+
aborted.
508509

509510
```js
510511
test('top level test', async (t) => {
@@ -575,7 +576,7 @@ changes:
575576
* `only` {boolean} If truthy, and the test context is configured to run
576577
`only` tests, then this test will be run. Otherwise, the test is skipped.
577578
**Default:** `false`.
578-
* `signal` {AbortSignal} Allows aborting an in-progress test
579+
* `signal` {AbortSignal} Allows aborting an in-progress test.
579580
* `skip` {boolean|string} If truthy, the test is skipped. If a string is
580581
provided, that string is displayed in the test results as the reason for
581582
skipping the test. **Default:** `false`.
@@ -622,7 +623,8 @@ exposed as part of the API.
622623
added: v18.7.0
623624
-->
624625

625-
* <AbortSignal> Can be used to abort test subtasks when the test has been aborted.
626+
* {AbortSignal} Can be used to abort test subtasks when the test has been
627+
aborted.
626628

627629
[TAP]: https://testanything.org/
628630
[`--test-only`]: cli.md#--test-only

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