Aug 18, 2024
I think the real heart of the issue in React is the "library" encourages and sometimes even requires developers to do things that make the code super difficult to test. So even I don't write tests if the Redux state is excessively hard to mock or if the component contains other components that either are hard to get hold of in tests or need providers, etc., to work.