- Add 18 missing translation keys to all non-English locales (de, es, fr, it, ja, nl, pt) with English fallback values - Fix contact form submit test targeting prefix input instead of given_name - Exclude .next/ build output from vitest to prevent Playwright spec conflicts
19 lines
405 B
TypeScript
19 lines
405 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
setupFiles: ['./vitest.setup.ts'],
|
|
exclude: ['e2e/**', 'node_modules/**', '.next/**'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './'),
|
|
},
|
|
},
|
|
});
|