You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2018. It is now read-only.
let resetStub = sinon.stub(SomeObject "someMethod", function () {
check(arguments, [Match.Any]);
});
The function is called.
It's not a big deal because obviously I can just use the second form, but I did spend quite a while trying to figure out why the first form didn't work to no avail.
It's possible (likely?) that I am doing something wrong but when I try to use this syntax:
The function is never called. But if I do:
The function is called.
It's not a big deal because obviously I can just use the second form, but I did spend quite a while trying to figure out why the first form didn't work to no avail.
TIA