Skip to content

Commit b6263ff

Browse files
committed
doc: fix test.md documentation
1 parent d63996b commit b6263ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,16 +1341,16 @@ changes:
13411341
* `coverageExcludeGlobs` {string|Array} Excludes specific files from code coverage
13421342
using a glob pattern, which can match both absolute and relative file paths.
13431343
This property is only applicable when `coverage` was set to `true`.
1344-
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
1344+
If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
13451345
files must meet **both** criteria to be included in the coverage report.
1346-
However, if there is an overlap between the two, `--test-coverage-include` takes precedence.
1346+
However, if there is an overlap between the two `coverageIncludeGlobs` takes precedence.
13471347
**Default:** `undefined`.
13481348
* `coverageIncludeGlobs` {string|Array} Includes specific files in code coverage
13491349
using a glob pattern, which can match both absolute and relative file paths.
13501350
This property is only applicable when `coverage` was set to `true`.
1351-
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
1351+
If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
13521352
files must meet **both** criteria to be included in the coverage report.
1353-
However, if there is an overlap between the two, `--test-coverage-include` takes precedence.
1353+
However, if there is an overlap between the two `coverageIncludeGlobs` takes precedence.
13541354
By default, the test files are excluded from code coverage. They can be explicitly
13551355
included via this flag.
13561356
**Default:** `undefined`.

0 commit comments

Comments
 (0)