Skip to content

Commit

Permalink
fix: show correct number of tests in test summary (vitest-dev#2703)
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho authored and sheremet-va committed Jan 18, 2023
1 parent 113cdb7 commit f713bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/core.ts
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 f713bbb

Please sign in to comment.