Mocking a REST API Server for Testing with Jest and React Testing Library

Mocking a REST API Server for Testing with Jest and React Testing Library

Dave Gray via YouTube Direct link

Lesson Goal

4 of 14

4 of 14

Lesson Goal

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Mocking a REST API Server for Testing with Jest and React Testing Library

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome
  3. 3 Prerequisites & Starter Code
  4. 4 Lesson Goal
  5. 5 Adding Dependencies
  6. 6 Mock REST API Server Setup
  7. 7 Async Unit Testing
  8. 8 Modify the Server Response for a test
  9. 9 Completing the Mock Endpoint handlers
  10. 10 Completing the CRUD Unit Tests
  11. 11 Adding the Async CRUD functions to the app
  12. 12 Adding New & Updating Integration Tests
  13. 13 Unit Test Update
  14. 14 Wrap-up

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.