Setting up MSW v2 in React Native
Why MSW over manual mocks
Most React Native projects mock their API layer with jest.fn(). You mock fetch or your Axios instance, define what it returns, and test against that.
It works. Until it doesn't.
The problem: you're testing your code's intera...
warrendeleon.hashnode.dev14 min read