Skip to content

Commit

Permalink
doc: fix test.md documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarchini committed Nov 28, 2024
1 parent d63996b commit b6263ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -1341,16 +1341,16 @@ changes:
* `coverageExcludeGlobs` {string|Array} Excludes specific files from code coverage
using a glob pattern, which can match both absolute and relative file paths.
This property is only applicable when `coverage` was set to `true`.
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
files must meet **both** criteria to be included in the coverage report.
However, if there is an overlap between the two, `--test-coverage-include` takes precedence.
However, if there is an overlap between the two `coverageIncludeGlobs` takes precedence.
**Default:** `undefined`.
* `coverageIncludeGlobs` {string|Array} Includes specific files in code coverage
using a glob pattern, which can match both absolute and relative file paths.
This property is only applicable when `coverage` was set to `true`.
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
files must meet **both** criteria to be included in the coverage report.
However, if there is an overlap between the two, `--test-coverage-include` takes precedence.
However, if there is an overlap between the two `coverageIncludeGlobs` takes precedence.
By default, the test files are excluded from code coverage. They can be explicitly
included via this flag.
**Default:** `undefined`.
Expand Down

0 comments on commit b6263ff

Please sign in to comment.