Course contentsShow
React
Lesson 2110 of 2,39647. Testing Patterns and Best PracticesPro lesson

Testing API Responses, Not Fetch Internals

Assert that data appears on screen after loading, not that useEffect called fetch with correct arguments.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.