From b66a93859263e29e3621df647fdefb67d0ea4e06 Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Sun, 6 Nov 2022 13:27:04 -0500 Subject: [PATCH] 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. --- doc/api/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/test.md b/doc/api/test.md index 69e37025beea37..08a684dc9f859c 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