fix: fixed vitest file after merge conflict

This commit is contained in:
Dan Ditomaso
2025-03-10 20:46:46 -04:00
parent 9da949d27a
commit 33ad9f989c
3 changed files with 110 additions and 36 deletions
+1 -14
View File
@@ -1,4 +1,4 @@
import { defineConfig } from 'vitest/config';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { VitePWA } from 'vite-plugin-pwa';
import { execSync } from 'node:child_process';
@@ -51,17 +51,4 @@ export default defineConfig({
optimizeDeps: {
exclude: ['react-scan']
},
test: {
environment: 'jsdom',
globals: true,
mockReset: true,
clearMocks: true,
restoreMocks: true,
root: path.resolve(process.cwd(), './src'),
include: ['**/*.{test,spec}.{ts,tsx}'],
setupFiles: ["./src/tests/setupTests.ts"],
}
});