BradCypert.com

Testing React Components with React Testing Library

Posted on February 15, 2020  (Last modified on December 27, 2022 )
1 minutes  • 56 words
This project uses these versions of languages, frameworks, and libraries.
  • react react : 17
  • typescript typescript : 3.4
This tutorial may work with newer versions and possibly older versions, but has only been tested on the versions mentioned above.

Testing react components with React Testing Library can be tricky, so I decided to try something new and put together a video demonstrating how to test your react components.

I’ll work on improving the audio quality going forward, but I’d love to know your thoughts! Wanna see more content like this in the future? Lemme know!

Cartoon headshot of Brad Cypert
Follow me

Connect with me to follow along on my journey in my career, open source, and mentorship. Occasionally, I'll share good advice and content (quality not guaranteed).