W3cubDocs

/Jasmine

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.

© 2008–2017 Pivotal Labs
Licensed under the MIT License.
https://jasmine.github.io/api/2.7/Spy.html