In this video I go over the basics of testing a React.js application using Jest and React Testing Library. I go over how to structure your tests, how to query various elements in your component, and how to perform user events like click and typing.
Testing your code is super important!
Let me know your thoughts in the comments!
Ещё видео!