Skip to content

Commit

Permalink
chore: remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Jul 21, 2024
1 parent 5cf3748 commit 03eff96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/vitest/src/utils/coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export class BaseCoverageProvider {
}): ResolvedThreshold[] {
const resolvedThresholds: ResolvedThreshold[] = []
const files = coverageMap.files()
const filesMatchedByGlobs: string[] = []
const globalCoverageMap = createCoverageMap()

for (const key of Object.keys(
Expand All @@ -204,7 +203,6 @@ export class BaseCoverageProvider {
const matchingFiles = files.filter(file =>
mm.isMatch(relative(root, file), glob),
)
filesMatchedByGlobs.push(...matchingFiles)

for (const file of matchingFiles) {
const fileCoverage = coverageMap.fileCoverageFor(file)
Expand Down

0 comments on commit 03eff96

Please sign in to comment.