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 <jacob@frende.me>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
This commit is contained in:
Vas Sudanagunta authored and Marco Ippolito committed 2025-11-19 18:01:43 +01:00
1 parent 0cace96472
commit caa2db4bac
1 file changed
+2 -1
+2 -1
View File
@@ -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