We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 018a841 commit 8349743Copy full SHA for 8349743
packages/vitest/src/node/coverage.ts
@@ -316,8 +316,9 @@ export class BaseCoverageProvider<Options extends ResolvedCoverageOptions<'istan
316
const globThresholds = resolveGlobThresholds(this.options.thresholds![glob])
317
const globCoverageMap = this.createCoverageMap()
318
319
+ const matcher = pm(glob)
320
const matchingFiles = files.filter(file =>
- pm.isMatch(relative(this.ctx.config.root, file), glob),
321
+ matcher(relative(this.ctx.config.root, file)),
322
)
323
324
for (const file of matchingFiles) {
0 commit comments