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 has been 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.
TIA
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: