Debugging tips for missing response with msw mocks
I am trying to set up mocks with Orval and MSW for a React Native app. I have the server running with the handlers from Orval, and I can console log to tell myself that my request is being intercepted and that some reasonable mock data is being returned via HttpResponse. However, the actual response that react-query seems to get is nothing; when I use the dev tools the query state.data is an empty string. I'm sure I've misconfigured something, but I've kind of reached my debugging boundaries. Are there any tips for reaching deeper into react-query to see why the HttpResponse isn't being propagated back to my app?
0 Replies