Documentation Home
This page is for an older version of Jasmine (2.6).
The current stable version of Jasmine is: 5.4. 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.