Files
doona/vitest.config.ts
T
Zakk 92715e341f feat(charts): add fact cards and persistent data tabs
Add reusable fact tiles and titled cards, including DNS rankings and cache state. Keep selected data panels mounted and avoid replacing unchanged poll results.
2026-09-23 13:28:34 +10:00

17 lines
479 B
TypeScript

import {defineConfig} from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
include: ['src/**/*.test.{ts,tsx}', 'tools/*.test.mjs'],
setupFiles: ['src/i18n/setup.test-env.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'lcov'],
include: ['src/**'],
exclude: ['src/api/types.ts', 'src/**/messages.ts', 'src/i18n/locales/**', 'src/api/mock/**'],
thresholds: {lines: 15, statements: 15}
}
}
});