You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: exclude test files from webpack TypeScript checking
Exclude src/**/*.test.* and src/**/*.spec.* from tsconfig.json so the
webpack dev server's ForkTsCheckerWebpackPlugin doesn't type-check them
(they use jest globals not available in the webpack context).
Add tsconfig.lint.json (extends tsconfig.json, re-includes test files)
and point eslint at it so type-aware linting still covers tests.
Cast environment in site.config.test.tsx to satisfy the type checker
without importing EnvironmentTypes (which causes a circular dependency).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments