Jest mocks returning out of order? react-redux

前端 未结 0 546
故里飘歌
故里飘歌 2021-02-12 14:05

I have three mocks set like this

jest.mock(\'react-redux\', () => ({
  useDispatch: () => jest.fn(),
  useSelector: jest
    .fn()
    .mockReturnValueOnce(         


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