FABRIC/vitest.config.ts
jeda f8e17ee2ab feat(bd-3jl): FileHeatmap integration complete + build fixes
FileHeatmap component is fully integrated into main TUI app:
- Keyboard shortcut 'H' toggles heatmap view
- Real-time file access aggregation from event store
- Shows most-touched files with multiple sort modes
- All tests passing (943 tests, including 130 FileHeatmap tests)

Additional fixes:
- Fixed ErrorGroupPanel options to support bottom property
- Added vitest globals configuration for proper TypeScript support
- Fixed type assertions in server.test.ts
- Created comprehensive integration documentation

Co-Authored-By: Claude Worker <noreply@anthropic.com>
2026-03-04 04:18:13 +00:00

13 lines
351 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
exclude: ['node_modules', 'dist'],
include: ['src/**/*.test.ts', 'src/**/*.test.tsx'],
environmentMatchGlobs: [
['src/web/frontend/**/*.test.tsx', 'jsdom'],
],
setupFiles: ['./src/web/frontend/test/setup.ts'],
},
});