My Approach to do Unit Test in React

Starting with test is not easy, but if you are trying to do TDD while improving your code quality and/or speed it's a must. Having a test discipline doesn't make you a faster developer but it helps a lot in maintaining the code and empowers you with the confidence to perform refactors and implement new features very fast.

Writing proper web acceptance tests

Writing acceptance test in the frontend is not easy, you need to test behavior but E2E tests are too complicated to implement and are not reliable, I'll show you my current approach.