From c444320e746c8ca170f82fb78b8c854e23c2078d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ari=20Perkki=C3=B6?= Date: Sun, 21 Apr 2024 22:09:27 +0300 Subject: [PATCH] test: disable isolation (#89) --- vitest.config.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vitest.config.ts b/vitest.config.ts index 17c1b48..0883f3a 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -9,11 +9,8 @@ export default defineConfig({ }, test: { globals: true, + isolate: false, - poolOptions: { - threads: { singleThread: true }, - forks: { singleFork: true }, - }, // simple.test.ts expects to be run in main thread poolMatchGlobs: [['**/simple.test.ts', 'forks']], },