and
Namespace: and
Spy#and
Methods
callFake(fn)
Tell the spy to call a fake implementation when invoked.
Parameters:
Name | Type | Description |
---|---|---|
fn | function | The function to invoke with the passed parameters. |
callThrough()
Tell the spy to call through to the real implementation when invoked.
exec()
Execute the current spy strategy.