ReferenceError: Can't find variable: jest

后端 未结 0 1728
清酒与你
清酒与你 2021-02-03 10:37

I have a testutil file in my react-native app that mocks reactnavigation and it is used only during testing.

navigation: {
   addListener: jest.fn(),
   navigate:         


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