Skip to content

Commit d5e5c75

Browse files
cjihrigRafaelGSS
authored andcommitted
doc: fix test runner's only tests section header
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>
1 parent 4a80aff commit d5e5c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ import { describe, it } from 'node:test';
184184
const { describe, it } = require('node:test');
185185
```
186186

187-
### `only` tests
187+
## `only` tests
188188

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

0 commit comments

Comments
 (0)