Skip to content

Commit e907236

Browse files
cjihrigtargos
authored andcommitted
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 <rlau@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent c247582 commit e907236

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
@@ -2223,6 +2189,40 @@ added:
22232189
The maximum number of test files that the test runner CLI will execute
22242190
concurrently. The default value is `os.availableParallelism() - 1`.
22252191

2192+
### `--test-coverage-exclude`
2193+
2194+
<!-- YAML
2195+
added:
2196+
- v22.5.0
2197+
-->
2198+
2199+
> Stability: 1 - Experimental
2200+
2201+
Excludes specific files from code coverage using a glob pattern, which can match
2202+
both absolute and relative file paths.
2203+
2204+
This option may be specified multiple times to exclude multiple glob patterns.
2205+
2206+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2207+
files must meet **both** criteria to be included in the coverage report.
2208+
2209+
### `--test-coverage-include`
2210+
2211+
<!-- YAML
2212+
added:
2213+
- v22.5.0
2214+
-->
2215+
2216+
> Stability: 1 - Experimental
2217+
2218+
Includes specific files in code coverage using a glob pattern, which can match
2219+
both absolute and relative file paths.
2220+
2221+
This option may be specified multiple times to include multiple glob patterns.
2222+
2223+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2224+
files must meet **both** criteria to be included in the coverage report.
2225+
22262226
### `--test-force-exit`
22272227

22282228
<!-- YAML

0 commit comments

Comments
 (0)