summaryrefslogtreecommitdiff
path: root/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js
index a825b5c..643e78c 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -10,6 +10,7 @@ export default defineConfig({
// If not all your files should have this environment, you can use a
// `// @vitest-environment jsdom` comment at the top of the test files instead.
environment: 'jsdom',
+ clearMocks: true,
restoreMocks: true,
coverage: {
thresholds: {