13 lines
376 B
TypeScript
13 lines
376 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
setupFiles: ['./tests/setup.ts'],
|
|
exclude: ['tests/e2e/**', 'node_modules/**', 'dist/**'],
|
|
coverage: { provider: 'v8', reporter: ['text', 'html'], include: ['src/**/*.{ts,tsx}'] },
|
|
},
|
|
})
|