mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-20 19:51:09 +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,
|
||||
},
|
||||
test: {
|
||||
isolate: false,
|
||||
environment: "jsdom",
|
||||
globals: true,
|
||||
setupFiles: "./src/setupTests.ts",
|
||||
|
||||
Reference in New Issue
Block a user