Files
RustUI/vitest.config.ts
T
2026-05-31 09:36:07 +08:00

18 lines
358 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./test-setup.ts'],
include: ['src/**/*.test.{ts,tsx}'],
coverage: {
provider: 'v8',
include: ['src/components/**/*.tsx'],
thresholds: {
functions: 80,
},
},
},
})