Skip to content

Commit

Permalink
fix: don't call non existing method
Browse files Browse the repository at this point in the history
Fixes #530
  • Loading branch information
sheremet-va committed Nov 14, 2024
1 parent 6876a96 commit 66d47c7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/worker/vitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ export class Vitest implements VitestMethods {
}

public async runTests(specsOrPaths: SerializedTestSpecification[] | string[] | undefined, testNamePattern?: string) {
// @ts-expect-error private method
await this.ctx.initBrowserProviders()

const specs = await this.resolveTestSpecs(specsOrPaths)

await this.runTestFiles(specs, testNamePattern, !specs)
Expand Down

0 comments on commit 66d47c7

Please sign in to comment.