Sinon spy and mailgun: Attempted to wrap undefined property 'messages' as function

后端 未结 0 1833
南旧
南旧 2021-01-06 02:51

I am trying to test MailGun send method with Sinon, I got an error when I call

sandbox.spy(sender, "messages");

The error message i

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