React Testing Library: How does it look like writing Unit Tests in 2023?

Shuvo Habib
6 min readJan 27, 2023
Don’t be alone in the Dark, write unit tests!

Hi this is Habib, just another Lead Frontend Engineer at Deriv, a fintech company. I am here to get you introduced with writing unit tests, if you have not written in 2022, get it started by earlier 2023 for your React Components..

Today we will write a test for a React component LoginForm. When you hear it, what comes to your mind?

--

--

Shuvo Habib

I'm a storyteller about UX, Frontend dev technologies, and A/B testing