In this video, we are going to learn how we can write test cases for our react apps using react testing library and jest. We'll write test cases to test rendering, events and API's in our react app.
Timestamps:
00:00 Introduction
00:32 Basic Tests
04:55 Testing Events
13:14 Bonus - Testing API's - Mock Service Worker
GitHub Repo (source code) - https://github.com/ankitsaxena21/React-ts-RTL
Blog Link - https://ankit-saxena2605.medium.com/getting-started-with-react-testing-library-and-jest-ccdc4d333b10
API used - https://animechan.vercel.app/guide
LinkedIn Profile - https://www.linkedin.com/in/iankit/