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 danielleadams committed Jan 3, 2023
1 parent ad3b41c commit 913b669
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 913b669

Please sign in to comment.