DEV Community

Discussion on: Things I learned after writing tests for JS and HTML page

Collapse
snowleo208 profile image
Yuki Cheung Author

Yes, testing library is quite good and it forced you not to use shallow or create lots of mocks for different functions.

I am using react-testing-library currently and it is fantastic! It is great to learn how to write unit tests using testing library and learn those best practices :)