From f74c38b877c61b6de0821421ab9ec97c3f3a17fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Sun, 4 Oct 2026 21:14:24 +0200 Subject: [PATCH] test: let the shared Vitest isolation win over a project's own options Spread TEST_ISOLATION after each project's test block, as the mutation lane already does, so no project can turn env isolation off. --- vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index 1bbf9259af..1bcd155b27 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -251,7 +251,7 @@ export default defineConfig({ setupFiles: SETUP_FILES, }, }, - ].map((project) => ({ ...project, test: { ...TEST_ISOLATION, ...project.test } })), + ].map((project) => ({ ...project, test: { ...project.test, ...TEST_ISOLATION } })), coverage: { provider: 'v8', reporter: ['text', 'html', 'lcov', 'json-summary'],