Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: fix typos in test.md
  • Loading branch information
aduh95 authored Jul 26, 2022
commit a577ee0fb9ebde80ee895b23847620e9ea3fe3f6
8 changes: 4 additions & 4 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,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
* `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`.
Expand Down Expand Up @@ -504,7 +504,7 @@ test('top level test', (t) => {
added: REPLACEME
-->

* <AbortSignal> Can be used to abort test subtasks when the test has been aborted.
* {AbortSignal} Can be used to abort test subtasks when the test has been aborted.

```js
test('top level test', async (t) => {
Expand Down Expand Up @@ -575,7 +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
* `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`.
Expand Down Expand Up @@ -622,7 +622,7 @@ exposed as part of the API.
added: REPLACEME
-->

* <AbortSignal> Can be used to abort test subtasks when the test has been aborted.
* {AbortSignal} Can be used to abort test subtasks when the test has been aborted.

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