Skip to content

Commit 7702aab

Browse files
authored
doc: move --test-coverage-{ex,in}clude to proper location
This commit moves the documentation for two CLI flags to the proper sorted location. PR-URL: #53926 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent 50d09bc commit 7702aab

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

doc/api/cli.md

+34-34
Original file line numberDiff line numberDiff line change
@@ -490,40 +490,6 @@ For example, to run a module with "development" resolutions:
490490
node -C development app.js
491491
```
492492

493-
### `--test-coverage-exclude`
494-
495-
<!-- YAML
496-
added:
497-
- v22.5.0
498-
-->
499-
500-
> Stability: 1 - Experimental
501-
502-
Excludes specific files from code coverage using a glob pattern, which can match
503-
both absolute and relative file paths.
504-
505-
This option may be specified multiple times to exclude multiple glob patterns.
506-
507-
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
508-
files must meet **both** criteria to be included in the coverage report.
509-
510-
### `--test-coverage-include`
511-
512-
<!-- YAML
513-
added:
514-
- v22.5.0
515-
-->
516-
517-
> Stability: 1 - Experimental
518-
519-
Includes specific files in code coverage using a glob pattern, which can match
520-
both absolute and relative file paths.
521-
522-
This option may be specified multiple times to include multiple glob patterns.
523-
524-
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
525-
files must meet **both** criteria to be included in the coverage report.
526-
527493
### `--cpu-prof`
528494

529495
<!-- YAML
@@ -2209,6 +2175,40 @@ added:
22092175
The maximum number of test files that the test runner CLI will execute
22102176
concurrently. The default value is `os.availableParallelism() - 1`.
22112177

2178+
### `--test-coverage-exclude`
2179+
2180+
<!-- YAML
2181+
added:
2182+
- v22.5.0
2183+
-->
2184+
2185+
> Stability: 1 - Experimental
2186+
2187+
Excludes specific files from code coverage using a glob pattern, which can match
2188+
both absolute and relative file paths.
2189+
2190+
This option may be specified multiple times to exclude multiple glob patterns.
2191+
2192+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2193+
files must meet **both** criteria to be included in the coverage report.
2194+
2195+
### `--test-coverage-include`
2196+
2197+
<!-- YAML
2198+
added:
2199+
- v22.5.0
2200+
-->
2201+
2202+
> Stability: 1 - Experimental
2203+
2204+
Includes specific files in code coverage using a glob pattern, which can match
2205+
both absolute and relative file paths.
2206+
2207+
This option may be specified multiple times to include multiple glob patterns.
2208+
2209+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2210+
files must meet **both** criteria to be included in the coverage report.
2211+
22122212
### `--test-force-exit`
22132213

22142214
<!-- YAML

0 commit comments

Comments
 (0)