Component unit tests: render, roles, interactions
A design system is a library used by dozens of teams. A regression in Button or Input hits every product at once. Component-level unit tests are the cheapest way to catch broken APIs, states, and a11y contracts before release.
This course uses React Testing Library (RTL) + Vitest (or Jest). RTL’s philosophy: test what the user sees, not implementation internals.