Interface SinonTestWrapper

Hierarchy

Index

Call signatures

Properties

Methods

Call signatures

(args?: Array<any>): any

Parameters

  • args?: Array<any> optional

Returns

any

Properties

public clock: SinonFakeTimers

public mock: SinonMockStatic

public requests: SinonFakeXMLHttpRequest

public server: SinonFakeServer

public spy: SinonSpyStatic

public stub: SinonStubStatic

public useFakeTimers: SinonFakeTimersStatic

public useFakeXMLHttpRequest: SinonFakeXMLHttpRequestStatic

Methods

public restore()

public useFakeServer(): SinonFakeServer

Returns

SinonFakeServer