r/reactjs • u/STRiDEX • Aug 21 '26
Show /r/reactjs Making React Testing Library Tests 43% Faster
https://sigh.dev/posts/making-react-testing-library-faster/
47
Upvotes
r/reactjs • u/STRiDEX • Aug 21 '26
13
u/bzbub2 Aug 21 '26
"Your test suite probably will not see the same improvement." dang
6
u/azangru Aug 21 '26
Sounds like what you meant was making jsdom x% faster.
1
u/Breakpoint Aug 21 '26
or switch to happy-dom
-2
u/yksvaan Aug 21 '26
Or just remove 43% of tests. A lot of React tests are pretty pointless, it's just that someone requires there to be tests to show off test coverage.Â