lotr-sut/sut/frontend/vitest.config.ts
Fellowship Scholar f6a5823439 init commit
2026-03-29 20:07:56 +00:00

18 lines
350 B
TypeScript

import { defineConfig } from 'vitest/config';
import react from '@vitejs/plugin-react';
import path from 'path';
export default defineConfig({
plugins: [react()],
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./test/setup.ts'],
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});