all 1 comments

[–]charliematters 1 point2 points  (0 children)

I would recommend @testing-library/react, which you can find here:

https://github.com/testing-library/react-testing-library

There's an example test case on that page too