Mocking multiple calls

前端 未结 0 1641
孤街浪徒
孤街浪徒 2020-12-31 16:57

I\'m using ts-mock-imports and I want to mock multiple return values of a function call, then check that a function was called a given number of times. The following works:

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