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: https://www.youtube.com/channel/UCWkzkhQ3syxBjjAYwqCbzYg?sub_confirmation=1

#react #jest #react testing library

React Testing Tutorial (Jest + React Testing Library)
2.65 GEEK