Skip to content

Commit 7faae56

Browse files
authored
test: let the shared Vitest isolation win over a project's own options (#3212)
Spread TEST_ISOLATION after each project's test block, as the mutation lane already does, so no project can turn env isolation off.
1 parent 2212eac commit 7faae56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vitest.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export default defineConfig({
251251
setupFiles: SETUP_FILES,
252252
},
253253
},
254-
].map((project) => ({ ...project, test: { ...TEST_ISOLATION, ...project.test } })),
254+
].map((project) => ({ ...project, test: { ...project.test, ...TEST_ISOLATION } })),
255255
coverage: {
256256
provider: 'v8',
257257
reporter: ['text', 'html', 'lcov', 'json-summary'],

0 commit comments

Comments
 (0)