Testing · Middle · Question 69 of 75
What should a component test NOT assert?
- ✓Correct answer: Internal state values, the number of renders, or which child component received which props
- 2The text the user sees
- 3Calls to callbacks passed as props
Explanation
Those are implementation details; refactoring them must not break tests.