Hacker News new | ask | show | jobs
by lmiller1990 759 days ago
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.