From 147316eca098444bbfd79b08aa404f08a6e9fac0 Mon Sep 17 00:00:00 2001 From: rare-magma Date: Sat, 9 Dec 2023 16:33:32 +0100 Subject: [PATCH] ci: enable vitest vmThreads Signed-off-by: rare-magma --- .github/workflows/release.yml | 2 +- vite.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d706dbc..c5e3573 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: run: pnpm install - name: Run tests - run: pnpm test -- --run --experimentalVmThreads + run: pnpm test -- --run release: name: release diff --git a/vite.config.ts b/vite.config.ts index 1fb5bfc..ba8c55f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,6 +38,7 @@ export default defineConfig((env) => { provider: "v8", include: ["src/**"], }, + pool: "vmThreads", globals: true, mockClear: true, environment: "jsdom",