- Exclude test files from tsconfig.app.json (matches tsconfig.json pattern) Test files use loose mocks that don't satisfy strict type checks — they're validated by vitest at runtime, not by tsc - Fix highlightDiff.test.ts React 19 type errors (props typed as unknown) - Remove duplicate fetchTasks import in api.test.ts - Add Task[] cast in ActivityLogModal.test.tsx mock data Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
387 B
JSON
14 lines
387 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
"jsx": "react-jsx",
|
|
"moduleResolution": "bundler",
|
|
"module": "ESNext",
|
|
"noEmit": true,
|
|
"types": ["vitest/globals", "@testing-library/jest-dom", "node", "vite/client"]
|
|
},
|
|
"include": ["app/**/*"],
|
|
"exclude": ["app/**/*.test.ts", "app/**/*.test.tsx", "app/**/__tests__/**/*"]
|
|
}
|