speed up tests by reusing the jsdom env since we don't rely on global state

This commit is contained in:
Athou
2026-09-06 16:31:24 +02:00
parent 06581692e6
commit caf56aca94

View File

@@ -41,6 +41,7 @@ export default defineConfig(() => ({
inconsistentCjsInterop: true, inconsistentCjsInterop: true,
}, },
test: { test: {
isolate: false,
environment: "jsdom", environment: "jsdom",
globals: true, globals: true,
setupFiles: "./src/setupTests.ts", setupFiles: "./src/setupTests.ts",