In this tutorial we learn how to test a react application using a library called Testing Library. Not only do we learn the basics of testing a react component we also do some test driven development (TDD).
Testing library is a great testing library with a simple philosophy of black box testing an application and does not use internal information like react state or props. This leads to simpler and cleaner tests.
Intro to testing with Jest Tutorial
• Introduction to Unit Testing Using Je...
Github
https://github.com/CodingWith-Adam/in...
Testing Library
https://testing-library.com/