5 ways to unit test a React component today: 1
5 ways to unit test a React component today:
1. @fbjest with @TestingLib
2. @vitest_dev with @TestingLib
3. @storybookjs with 1 or 2 above
4. @Cypress_io with @TestingLib
5. @playwrightweb
What I like about 3 - 5: I get visual test results, so it's easier to debug. 👍