spyOn function that returns an express Response, throws error Argument of type 'Response' is not assignable to parameter of type 'Response'

后端 未结 0 1097
迷失自我
迷失自我 2021-02-11 10:37

I am trying to mock a function that returns an express response.

This is the function i am trying to mock:

export async function getTokenExample() {
  retu         


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