From 5e632e4d5524b5c558e739fb6340341fb7a80b80 Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Mon, 7 Nov 2022 13:52:11 -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. PR-URL: https://github.com/nodejs/node/pull/45343 Reviewed-By: Moshe Atlow Reviewed-By: Luigi Pinca Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Akhil Marsonya --- 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 f13381982107e3..f8e1363234b37c 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