How does one use jest-mock-axios to test a function that calls axios.get?

前端 未结 0 1099
你的背包
你的背包 2021-02-04 04:51

I wrote a function I\'m trying to test. I followed an example on https://www.npmjs.com/package/jest-mock-axios#user-content-using-await-and-async. The only main difference struc

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