Open jonathan-benn opened 7 years ago
spy.thisValues
, spy.calledOn(obj)
, spy.alwaysCalledOn(obj)
?I have given the explanation here
spy.withArgs()
This might be a little bit complicated to implement, but it's doable.
spy.printf("format string", [arg1, arg2, ...])
I have no idea about this to be honest, I have also never used this in SinonJS...
Ok, I'll update the issue.
Don't worry about printf
, it's easy to do with regular expressions.
Here are some Spy API functions that are still missing: