In this video I walk through setting up a new react app and wiring up a meaningful component test with react-testing-library.
We cover everything from creating a new react app with create-react-app, removing the initial React.js code and replacing it with something meaningful, and the finally writing a real test with react testing library. We cover testing this simple component that we build in the beginning of the video, but the lessons learned here can be used to test an entire React.js code base.
On this page of the site you can watch the video online Component Testing with React Testing Library with a duration of hours minute second in good quality, which was uploaded by the user Code With Cypert 15 February 2020, share the link with friends and acquaintances, this video has already been watched 1,531 times on youtube and it was liked by 33 viewers. Enjoy your viewing!