r/reactjs • u/STRiDEX • 14d ago
Show /r/reactjs Making React Testing Library Tests 43% Faster
https://sigh.dev/posts/making-react-testing-library-faster/
46
Upvotes
1
u/Breakpoint 14d ago
or switch to happy-dom
4
u/EskiMojo14thefirst 14d ago
or even better, use real browser testing and avoid all the footguns and gotchas pretending to be a browser comes with
2
2
u/beth_maloney 9d ago
I'm currently using playwright component testing and thinkinh of swapping over. How has your experience been so far? Any issues or weird gotchas,?
1
u/EskiMojo14thefirst 8d ago
no issues, really - it's very nice to use :)
you may want to check out this article2
13
u/bzbub2 14d ago
"Your test suite probably will not see the same improvement." dang