Is it possible to mock API calls with Jest in NodeJS without jest.mock('module')?

前端 未结 0 1540
故里飘歌
故里飘歌 2020-11-30 03:38

My NodeJS application has to do some API requests, so I\'m mocking their return as my tests are just for my application\'s business logic. However, there\'s two things that

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