Skip to content

Commit 859e7f0

Browse files
authoredJan 18, 2023
fix: show correct number of tests in test summary (#2703)
fix #2661
1 parent c31a0b2 commit 859e7f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vitest/src/node/core.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export class Vitest {
346346
.finally(async () => {
347347
this.state.finishCollectingPaths()
348348
if (!this.config.browser)
349-
await this.report('onFinished', this.state.getFiles(), this.state.getUnhandledErrors())
349+
await this.report('onFinished', this.state.getFiles(paths), this.state.getUnhandledErrors())
350350
this.runningPromise = undefined
351351
})
352352

0 commit comments

Comments
 (0)
Please sign in to comment.