2026-03-03 19:01:13 +01:00
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
|
import path from 'path';
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
test: {
|
2026-03-03 21:18:05 +01:00
|
|
|
environment: 'jsdom',
|
2026-03-03 19:01:13 +01:00
|
|
|
globals: true,
|
|
|
|
|
setupFiles: ['./src/test/setup.ts'],
|
2026-03-03 21:18:05 +01:00
|
|
|
exclude: ['node_modules', 'dist', '.idea', '.git', '.cache', 'e2e'],
|
2026-03-03 19:01:13 +01:00
|
|
|
},
|
|
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
|
|
|
|
'@': path.resolve(__dirname, './src'),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|