Skip to content

Commit

Permalink
fix: show correct number of tests in test summary (#2703)
Browse files Browse the repository at this point in the history
fix #2661
  • Loading branch information
poyoho authored Jan 18, 2023
1 parent c31a0b2 commit 859e7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export class Vitest {
.finally(async () => {
this.state.finishCollectingPaths()
if (!this.config.browser)
await this.report('onFinished', this.state.getFiles(), this.state.getUnhandledErrors())
await this.report('onFinished', this.state.getFiles(paths), this.state.getUnhandledErrors())
this.runningPromise = undefined
})

Expand Down

0 comments on commit 859e7f0

Please sign in to comment.