745bd66266
Test matcher types (toBeInTheDocument etc.) from @testing-library/jest-dom were not globally visible to tsc because module augmentations from setup.ts don't propagate across unconnected files in the same compilation. Excluding test files from the main tsconfig is the standard Next.js + Vitest pattern. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>