From 5336d33fc39d4e8961fe5c44a89768c54635df61 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 8d2fa871ce666f..e9e4113fa256c6 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