mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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: https://github.com/nodejs/node/pull/53926 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
parent
50d09bc5f6
commit
7702aab336
@ -490,40 +490,6 @@ For example, to run a module with "development" resolutions:
|
||||
node -C development app.js
|
||||
```
|
||||
|
||||
### `--test-coverage-exclude`
|
||||
|
||||
<!-- YAML
|
||||
added:
|
||||
- v22.5.0
|
||||
-->
|
||||
|
||||
> Stability: 1 - Experimental
|
||||
|
||||
Excludes specific files from code coverage using a glob pattern, which can match
|
||||
both absolute and relative file paths.
|
||||
|
||||
This option may be specified multiple times to exclude multiple glob patterns.
|
||||
|
||||
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
|
||||
files must meet **both** criteria to be included in the coverage report.
|
||||
|
||||
### `--test-coverage-include`
|
||||
|
||||
<!-- YAML
|
||||
added:
|
||||
- v22.5.0
|
||||
-->
|
||||
|
||||
> Stability: 1 - Experimental
|
||||
|
||||
Includes specific files in code coverage using a glob pattern, which can match
|
||||
both absolute and relative file paths.
|
||||
|
||||
This option may be specified multiple times to include multiple glob patterns.
|
||||
|
||||
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
|
||||
files must meet **both** criteria to be included in the coverage report.
|
||||
|
||||
### `--cpu-prof`
|
||||
|
||||
<!-- YAML
|
||||
@ -2209,6 +2175,40 @@ added:
|
||||
The maximum number of test files that the test runner CLI will execute
|
||||
concurrently. The default value is `os.availableParallelism() - 1`.
|
||||
|
||||
### `--test-coverage-exclude`
|
||||
|
||||
<!-- YAML
|
||||
added:
|
||||
- v22.5.0
|
||||
-->
|
||||
|
||||
> Stability: 1 - Experimental
|
||||
|
||||
Excludes specific files from code coverage using a glob pattern, which can match
|
||||
both absolute and relative file paths.
|
||||
|
||||
This option may be specified multiple times to exclude multiple glob patterns.
|
||||
|
||||
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
|
||||
files must meet **both** criteria to be included in the coverage report.
|
||||
|
||||
### `--test-coverage-include`
|
||||
|
||||
<!-- YAML
|
||||
added:
|
||||
- v22.5.0
|
||||
-->
|
||||
|
||||
> Stability: 1 - Experimental
|
||||
|
||||
Includes specific files in code coverage using a glob pattern, which can match
|
||||
both absolute and relative file paths.
|
||||
|
||||
This option may be specified multiple times to include multiple glob patterns.
|
||||
|
||||
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
|
||||
files must meet **both** criteria to be included in the coverage report.
|
||||
|
||||
### `--test-force-exit`
|
||||
|
||||
<!-- YAML
|
||||
|
Loading…
Reference in New Issue
Block a user