Unit & Component Tests
Vitest (or Jest) for logic, Testing Library for components, testing behaviour the user sees instead of implementation details.
You're done when
- Your component tests query by role and label, not by class name.
- You can mock an API with MSW.