News for hackers. Stuff that matters.
Re:Ask HN: Is there a React test framework that actually works? by danjl on Saturday May 25, 2024 @09:37PM (#40479170)
Write tests. Not too many. Mostly integration.

Test what the user does and sees. I shoot for 90% coverage with about 100 integration tests using testing-library.

https://kentcdodds.com/blog/write-tests

There are no comments on this comment yet.