Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9856fc7

Browse filesBrowse 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
Copy full SHA for 9856fc7

File tree

Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/test.md‎

Copy file name to clipboardExpand all lines: doc/api/test.md
+6-4Lines changed: 6 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.