3 ms·
Depends on your toolset. For some kind of code, testing is the solution and not a problem. For React before version 17 between the test code never being able
by PaulHoule 2y ago
Depends on your toolset. For some kind of code, testing is the solution and not a problem. For React before version 17 between the test code never being able to know if your callbacks have settled and react-testing-library insisting that you aria-everything or screw up your code with test id’s, writing a test is hours of wasted time now and more hours wasted gradually over the next year because your tests already take 70 sec to run. React always knew what was queued to run and why it took them 17 releases to expose it to test runners is beyond me.