Re:Ask HN: Is there a React test framework that actually works?
by lmiller1990 on Friday May 24, 2024 @09:34PM
(#40471993)
You could try Cypress, it has a component testing solution. It's not for everyone, but the way Cypress works, is it will auto-wait for your assertion to run, so you don't need the whole async/await.
No solution is perfect! I see this as more integration / component testing than a true unit test.
No solution is perfect! I see this as more integration / component testing than a true unit test.