10 lines
307 B
TypeScript
10 lines
307 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: { proxy: { '/api': 'http://localhost:8000' } },
|
|
test: { environment: 'jsdom', setupFiles: './src/test-setup.ts', include: ['src/**/*.test.{ts,tsx}'] },
|
|
})
|
|
|