Skip to main content

property RunOptions.coverageIncludeGlobs

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.

Type #

string
| readonly string[]
| undefined

Did you find what you needed?

Privacy policy