diff --git a/app/vitest.config.js b/app/vitest.config.js new file mode 100644 index 0000000..eaddcca --- /dev/null +++ b/app/vitest.config.js @@ -0,0 +1,12 @@ +import { defineConfig } from 'vitest/config'; +import react from '@vitejs/plugin-react'; + +export default defineConfig({ + plugins: [react()], + test: { + environment: 'jsdom', + globals: true, + setupFiles: ['./src/test/setup.js'], + include: ['src/**/*.{test,spec}.{js,jsx}'], + }, +});