Mocking Made Simple
TD;DR: Inject dependencies instead of mocking functions.   I was refactoring some React Native code...
Tags: testing, refactoring, mocks, quicktip