By chaining the spy with calls.all(), will return the context (the this) and arguments passed all calls
any
By chaining the spy with calls.allArgs(), will return the arguments to all calls
Array<any>
By chaining the spy with calls.any(), will return false if the spy has not been called at all, and then true once at least one call happens.
boolean
By chaining the spy with calls.argsFor(), will return the arguments passed to call number index
Array<any>
By chaining the spy with calls.count(), will return the number of times the spy was called
number
By chaining the spy with calls.first(), will return the context (the this) and arguments for the first call
any
By chaining the spy with calls.mostRecent(), will return the context (the this) and arguments for the most recent call
any
By chaining the spy with calls.reset(), will clears all tracking for a spy