app/vitest.config.ts
kcar 0db53bfd9c
Some checks failed
app-ci-deploy / test-build-deploy (push) Has been cancelled
test: add admin route guard coverage
2026-05-27 23:24:26 +01:00

18 lines
354 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: ['./src/setupTests.ts'],
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});