Skip to content

Commit caa2db4

Browse files
vassudanaguntamarco-ippolito
authored andcommitted
doc: fix links in test.md
Links explaining the various target file-related `run([options])` pointed to the wrong section. PR-URL: #58876 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
1 parent 0cace96 commit caa2db4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/test.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ changes:
11731173
If `false`, it would only run one test file at a time.
11741174
**Default:** `false`.
11751175
* `files`: {Array} An array containing the list of files to run.
1176-
**Default:** matching files from [test runner execution model][].
1176+
**Default:** Same as [running tests from the command line][].
11771177
* `forceExit`: {boolean} Configures the test runner to exit the process once
11781178
all known tests have finished executing even if the event loop would
11791179
otherwise remain active. **Default:** `false`.
@@ -3292,6 +3292,7 @@ Can be used to abort test subtasks when the test has been aborted.
32923292
[`test()`]: #testname-options-fn
32933293
[describe options]: #describename-options-fn
32943294
[it options]: #testname-options-fn
3295+
[running tests from the command line]: #running-tests-from-the-command-line
32953296
[stream.compose]: stream.md#streamcomposestreams
32963297
[suite options]: #suitename-options-fn
32973298
[test reporters]: #test-reporters

0 commit comments

Comments
 (0)