jcollum-cambia
Results
3
comments of
jcollum-cambia
Sinon stubs have an `onCall` property, can you use that? >Calling behavior defining methods like returns or throws multiple times overrides the behavior of the stub. As of Sinon version...
Did you solve this? Did the dev ever respond?
Solved it. I was using an SQS Consumer lib and in that lib there was a call to `Request.send`. Solution: ``` const requestSend = sinon.stub(); AWSMock.mock("Request", "send", requestSend); ```