From caa2db4bac9dcabb902dcf6cd09af66e763cfb24 Mon Sep 17 00:00:00 2001 From: Vas Sudanagunta Date: Mon, 30 Jun 2025 12:50:14 -0700 Subject: [PATCH] doc: fix links in test.md Links explaining the various target file-related `run([options])` pointed to the wrong section. PR-URL: https://github.com/nodejs/node/pull/58876 Reviewed-By: Jacob Smith Reviewed-By: Chemi Atlow Reviewed-By: Ethan Arrowood --- doc/api/test.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/test.md b/doc/api/test.md index fb91e4a2aff..aadcd9e2cd7 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1173,7 +1173,7 @@ changes: If `false`, it would only run one test file at a time. **Default:** `false`. * `files`: {Array} An array containing the list of files to run. - **Default:** matching files from [test runner execution model][]. + **Default:** Same as [running tests from the command line][]. * `forceExit`: {boolean} Configures the test runner to exit the process once all known tests have finished executing even if the event loop would otherwise remain active. **Default:** `false`. @@ -3292,6 +3292,7 @@ Can be used to abort test subtasks when the test has been aborted. [`test()`]: #testname-options-fn [describe options]: #describename-options-fn [it options]: #testname-options-fn +[running tests from the command line]: #running-tests-from-the-command-line [stream.compose]: stream.md#streamcomposestreams [suite options]: #suitename-options-fn [test reporters]: #test-reporters