Sinon.JS stubs with dynamic return value

前端 未结 0 1095
北荒
北荒 2021-01-18 21:59

Let\'s say I have a function called that works somehow like this. (I\'ll write it in Typescript, so I can include types for easier understanding)

async filter         


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