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 coverageExcludeGlobs
and coverageIncludeGlobs
are provided, files must meet both criteria to be included in the coverage report.
property
test.default.RunOptions.coverageIncludeGlobs
coverageIncludeGlobs?: string | readonly string[]