Skip to content

Commit f0639eb

Browse files
authored
doc: fix typos in test.md
PR-URL: #43997 Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 7abbbf2 commit f0639eb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/api/test.md

+6-4
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: REPLACEME
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: REPLACEME
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)