mirror of
https://github.com/Athou/commafeed.git
synced 2026-10-09 13:54:51 +00:00
speed up tests by reusing the jsdom env since we don't rely on global state
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user