Mocking dynamic fetch call in React / Jest

后端 未结 0 396
情书的邮戳
情书的邮戳 2021-01-16 05:09

I have been trying to test my fetch request in my React app with Jest. However, I\'m not successfully mocking the call and am having trouble making progress with this test.

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