Herman Starikov
2018-11-13
When it comes to unit testing, business logic is considered the most valuable area of your code to test because if there is an error, heads will roll π΅. This was apparent on a React Native project I recently worked on that had plenty of unit tests for the Redux part of the app - reducers, sagas, and selectors, but the overall code coverage was not great π€. There was a lot of presentation logic and components that were not covered. So when I joined, the goal was to bring the overall coverage up by unit testing π¨πΌβπ»the remaining code.