fix: exclude test files from tsconfig.app.json to resolve TS2304 build error
P0 F-01: Frontend build was failing with "Cannot find name 'beforeEach'" because test files were being compiled by tsconfig.app.json which lacked vitest globals. Added exclude patterns to tsconfig.app.json. Updated PROJECT_REAL_COMPLETION_REVIEW_2026-04-10.md to reflect fix.
This commit is contained in:
@@ -30,5 +30,6 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.tsx", "src/**/*.test.ts", "src/**/*.spec.tsx", "src/**/*.spec.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user