mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-08-28 02:44:59 +00:00
* test: add critical-path coverage ratchets * fix: harden coverage ratchet enforcement * fix: fetch coverage comparison history * fix: close coverage policy downgrade paths * fix: verify changed critical statements * fix: ignore non-executable coverage changes * fix: distinguish mixed type-only coverage edits * fix: classify coverage changes by runtime output * fix: enforce runtime-significant whitespace changes * fix: classify multiline coverage changes as hunks * fix: group equal-line coverage rewrites
26 lines
650 B
TypeScript
26 lines
650 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['src/**/*.test.ts'],
|
|
exclude: ['**/node_modules/**', '**/dist/**'],
|
|
globals: true,
|
|
testTimeout: 15000, // Integration tests hit the live server
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['src/**/*.ts'],
|
|
exclude: [
|
|
'src/**/*.test.ts',
|
|
'src/**/*.d.ts',
|
|
'src/__tests__/**',
|
|
'src/**/__fixtures__/**',
|
|
'src/**/fixtures/**',
|
|
'src/**/generated/**',
|
|
'src/**/*.generated.*',
|
|
'src/**/types.ts',
|
|
'src/types/**/*.ts',
|
|
],
|
|
all: true,
|
|
},
|
|
},
|
|
});
|