1The Anti-Pattern
A junior writes a test that checks if component.state.count === 1. This is testing an 'implementation detail'. If you refactor to use hooks instead of classes, the test breaks even if the app still works perfectly. Mid-levels test BEHAVIOR: expect(screen.getByText('1')).toBeInTheDocument(). Behavior-driven tests survive refactors.
