Files
TradarrV2/frontend/vitest.config.ts
Blomios 9970b49746 test(infra): add postgres and frontend test tooling
Add repeatable PostgreSQL integration tests and configure Vitest, Testing Library, and ESLint.

Refs #11

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-20 19:54:28 +01:00

14 lines
336 B
TypeScript

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