Skip to content

Commit 5a71eb3

Browse files
authoredDec 18, 2023
fix: correctly reset provided values (#4775)
1 parent c4e865b commit 5a71eb3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,7 @@ export class WorkspaceProject {
360360
this.server.close(),
361361
this.typechecker?.stop(),
362362
this.browser?.close(),
363-
() => this._provided = ({} as any),
364-
].filter(Boolean))
363+
].filter(Boolean)).then(() => this._provided = {} as any)
365364
}
366365
return this.closingPromise
367366
}

0 commit comments

Comments
 (0)
Please sign in to comment.