loading...

re: Things I learned after writing tests for JS and HTML page VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks Yuki for writing this! I had a similar question of how to test an HTML file with vanilla JavaScript and no UI frameworks, and your article g...
 

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 :)

Code of Conduct Report abuse