We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 835e32d commit b07eb66Copy full SHA for b07eb66
src/worker/vitest.ts
@@ -113,6 +113,9 @@ export class Vitest implements VitestMethods {
113
}
114
115
public async runTests(specsOrPaths: SerializedTestSpecification[] | string[] | undefined, testNamePattern?: string) {
116
+ // @ts-expect-error private method in Vitest <=2.1.5
117
+ await this.ctx.initBrowserProviders?.()
118
+
119
const specs = await this.resolveTestSpecs(specsOrPaths)
120
121
await this.runTestFiles(specs, testNamePattern, !specs)
0 commit comments