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 <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
  • Loading branch information
cjihrig authored and RafaelGSS committed Nov 10, 2022
1 parent 4a80aff commit d5e5c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/test.md
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 d5e5c75

Please sign in to comment.