Mocking axios with jest is not returning a value

前端 未结 0 1784
醉梦人生
醉梦人生 2021-01-31 19:58

I am unit testing a function that refreshes a users jwt token. Within that function a post request must be made. I am mocking axios and can return the correct data when specifyi

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