Skip to content

Commit

Permalink
Enable concurrent execution
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Jun 24, 2024
1 parent 6f55383 commit 78151b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kernel/src/worker-runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ suite("Worker intergration test running an app", async () => {
});

for (const testSource of TEST_SOURCES) {
test(
test.concurrent(
`Running ${testSource.entrypoint}`,
async () => {
const fileNamesContentsObj = Object.fromEntries(
Expand Down
1 change: 1 addition & 0 deletions packages/kernel/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default defineConfig({
test: {
environment: "jsdom", // We use jsdom because happy-dom does not work well with iframe.
setupFiles: ["./setupTests.ts"],
maxConcurrency: 4,
},
resolve: {
alias: {
Expand Down

0 comments on commit 78151b1

Please sign in to comment.