Calling original function from Sinon.js Stub

后端 未结 0 940
暗喜
暗喜 2021-02-11 20:45

I\'m trying to intercept a call with Sinon.js so I can do some logging and then execute the original call. I don\'t see a way to do this with sinon.spy(), but I think I can do

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