Skip to content

Commit

Permalink
doc: fix test runner's only tests section header
Browse files Browse the repository at this point in the history
Only tests are not a subsection of describe/it syntax.
This commit updates the heading of the 'only tests'
section to reflect this.

PR-URL: #45343
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
  • Loading branch information
cjihrig authored and danielleadams committed Jan 4, 2023
1 parent 9673b63 commit 0871b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ import { describe, it } from 'node:test';
const { describe, it } = require('node:test');
```

### `only` tests
## `only` tests

If Node.js is started with the [`--test-only`][] command-line option, it is
possible to skip all top level tests except for a selected subset by passing
Expand Down

0 comments on commit 0871b24

Please sign in to comment.