Testing In Type Script
Jest/Vitest, type-safe mocking, testing React components (Testing Library).
Why we need this / what value this brings
Type-safe test doubles catch a class of bugs that loose JS mocks let through silently.
When to use this
Any new component or API route — Vitest + Testing Library is the current default pairing.
How to use or implement this
Mock at the network boundary (MSW) over mocking internal modules where possible.
Research questions
- (add as research surfaces open questions)
Empty folder — drop notes, links, and findings here as you research.