Skip to content

Commit

Permalink
fix: correctly reset provided values (#4775)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Dec 18, 2023
1 parent c4e865b commit 5a71eb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/vitest/src/node/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,7 @@ export class WorkspaceProject {
this.server.close(),
this.typechecker?.stop(),
this.browser?.close(),
() => this._provided = ({} as any),
].filter(Boolean))
].filter(Boolean)).then(() => this._provided = {} as any)
}
return this.closingPromise
}
Expand Down

0 comments on commit 5a71eb3

Please sign in to comment.