Skip to content

Commit 139c62e

Browse files
cjihrigmarco-ippolito
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 <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent be94e47 commit 139c62e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

doc/api/cli.md

+34
Original file line numberDiff line numberDiff line change
@@ -2008,6 +2008,40 @@ added: v20.10.0
20082008
The maximum number of test files that the test runner CLI will execute
20092009
concurrently. The default value is `os.availableParallelism() - 1`.
20102010

2011+
### `--test-coverage-exclude`
2012+
2013+
<!-- YAML
2014+
added:
2015+
- v22.5.0
2016+
-->
2017+
2018+
> Stability: 1 - Experimental
2019+
2020+
Excludes specific files from code coverage using a glob pattern, which can match
2021+
both absolute and relative file paths.
2022+
2023+
This option may be specified multiple times to exclude multiple glob patterns.
2024+
2025+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2026+
files must meet **both** criteria to be included in the coverage report.
2027+
2028+
### `--test-coverage-include`
2029+
2030+
<!-- YAML
2031+
added:
2032+
- v22.5.0
2033+
-->
2034+
2035+
> Stability: 1 - Experimental
2036+
2037+
Includes specific files in code coverage using a glob pattern, which can match
2038+
both absolute and relative file paths.
2039+
2040+
This option may be specified multiple times to include multiple glob patterns.
2041+
2042+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2043+
files must meet **both** criteria to be included in the coverage report.
2044+
20112045
### `--test-force-exit`
20122046

20132047
<!-- YAML

0 commit comments

Comments
 (0)