18 lines
358 B
TypeScript
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,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
})
|