Skip to content

Commit

Permalink
chore: fix wait promise
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 18, 2024
1 parent 4989bdf commit de6f2ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/browser/src/node/pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ export function createBrowserPool(ctx: Vitest): ProcessPool {
url.searchParams.set('contextId', contextId)
const page = provider
.openPage(contextId, url.toString(), () => setBreakpoint(contextId, files[0]))
.then(() => waitPromise)
promises.push(page)
promises.push(page, waitPromise)
}
})

Expand Down

0 comments on commit de6f2ff

Please sign in to comment.