React Testing Tutorial (Jest + React Testing Library)
Kris Foster Kris Foster
9.74K subscribers
235,919 views
0

 Published On Feb 27, 2021

Learn how to write unit tests for your React components using Jest and the React Testing Library.

We will be writing some unit tests for React components using the Jest framework (https://jestjs.io/). We will begin by creating a react app using create-react-app. Then we will create a component & write some unit tests for it. We will finish by writing some snapshot tests to verify changes to the component tree.

Don't forget to Subscribe here:    / @krisfoster1  

show more

Share/Embed