Skip to content

Commit

Permalink
fix: report correct coverage when running all files
Browse files Browse the repository at this point in the history
Closes #532
  • Loading branch information
sheremet-va committed Nov 19, 2024
1 parent 59e2ad6 commit 3915c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/vitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class Vitest implements VitestMethods {

const specs = await this.resolveTestSpecs(specsOrPaths)

await this.runTestFiles(specs, testNamePattern, !specs)
await this.runTestFiles(specs, testNamePattern, !specsOrPaths)
}

public cancelRun() {
Expand Down

0 comments on commit 3915c27

Please sign in to comment.