How do you mock redux-offline?

前端 未结 0 1458
执念已碎
执念已碎 2021-01-12 16:27

When I use Redux-toolkit and redux-persist, I can mock redux-persist just with:

jest.mock(\'redux-persist\', () => {
  const real = jest.requireActual(\'re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题