Testing · Middle · Question 62 of 75
Why are integration tests in the frontend often the best value?
- ✓Correct answer: They test real component collaboration with few mocks, staying fast enough to run often
- 2They don't need any assertions
- 3They replace TypeScript
Explanation
Unit tests of tiny components often check little; E2E is slow - integration sits in the sweet spot.