Oscar Rojas
Results
1
comments of
Oscar Rojas
If cache is the problem use this solution from another issue ```javascript beforeEach(() => { store.dispatch(pokemonApi.util.resetApiState()); }); ``` https://github.com/mswjs/msw/issues/251#issuecomment-1274474669 Same solution but on stackoverflow from rtk query contributor: https://stackoverflow.com/questions/67999073/how-to-clear-rtk-query-cache-in-tests-between-requests-when-using-msw-and-jest