Documentation Home Behavior-Driven JavaScript
Fork me on GitHub
This page is for an older version of Jasmine (2.8)
The current stable version of Jasmine is: 3.5 - You can also look at the docs for the next release: Edge

Class: Spy

Spy()

new Spy()

Note: Do not construct this directly, use spyOn, spyOnProperty, jasmine.createSpy, or jasmine.createSpyObj

Namespaces

and
calls

Members

(static) callData

Properties:
Name Type Description
object object

this context for the invocation.

invocationOrder number

Order of the invocation.

args Array

The arguments passed for this invocation.