From 913b669a2b48d47e612b9f98481ef0d838ae3745 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 dbea994cd2a7d2..e86910f4624a00 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