Test Components Like a User
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
A component's tests check its internal state values and break every time it's refactored, even when nothing changes for users. Explain how you'd test a login form component the way a user uses it.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.