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:
2026-04-11 23:45:43 +08:00
parent 779b432f52
commit 861736cf4d
2 changed files with 3 additions and 1 deletions

View File

@@ -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"]
}