sinon@4.4.0 got a PR merged which introduces to get the return values of callbacks when yielding, which we rely on in our WebExtension tests. Would be awesome if you could update sinon.
However, sinon deprecated .reset in favor of explicitly calling .resetBehavior and .resetHistory. I've updated the code accordingly.
Hi, thanks for your work on sinon-chrome.
sinon@4.4.0 got a PR merged which introduces to get the return values of callbacks when
yield
ing, which we rely on in our WebExtension tests. Would be awesome if you could update sinon.However, sinon deprecated
.reset
in favor of explicitly calling.resetBehavior
and.resetHistory
. I've updated the code accordingly.Best regards