PcoverageExcludeGlobs
Bun

property

test.default.RunOptions.coverageExcludeGlobs

coverageExcludeGlobs?: string | readonly string[]

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 coverageExcludeGlobs and coverageIncludeGlobs are provided, files must meet both criteria to be included in the coverage report.