Jest spy mockResolvedValue doesn't work and the function is called

后端 未结 0 1749
臣服心动
臣服心动 2021-01-11 18:34

I have a problem with jest mockResolvedValue. Indeed i\'m defining a spy to my function and then mock its result to return a value instead of calling the function. However,

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