diff options
author | Colin Ihrig <cjihrig@gmail.com> | 2022-11-07 21:52:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 21:52:11 +0300 |
commit | 2119fa48fbc68a88ee6cbf669e136d221fb20438 (patch) | |
tree | ac29d7b8346c2b548cb6bd109678b8827bcc275e | |
parent | 9454ba6138d11e8a4d18b073de25781cad4bd2c8 (diff) |
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: https://github.com/nodejs/node/pull/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>
-rw-r--r-- | doc/api/test.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/test.md b/doc/api/test.md index 8d2fa871ce6..e9e4113fa25 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -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 |