Skip to content

Commit

Permalink
fix: colec and run only a single test at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Mar 21, 2023
1 parent efd776d commit ab6fdd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/browser/src/client/main.ts
Expand Up @@ -113,7 +113,8 @@ async function runTests(paths: string[], config: any, client: VitestClient) {
const now = `${new Date().getTime()}`
files.forEach(i => browserHashMap.set(i, now))

await startTests(files, runner)
for (const file of files)
await startTests([file], runner)
}
finally {
await stopCoverageInsideWorker(config.coverage, executor)
Expand Down

0 comments on commit ab6fdd5

Please sign in to comment.