Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
SinonStatic
Interface SinonStatic
Index
Properties
FakeXMLHttpRequest
assert
clock
config
createStubInstance
expectation
fakeServer
fakeServerWithClock
format
log
match
mock
sandbox
spy
stub
useFakeTimers
useFakeXMLHttpRequest
Methods
restore
test
testCase
Properties
public
FakeXMLHttpRequest
:
SinonFakeXMLHttpRequest
public
assert
:
SinonAssert
public
clock
:
SinonFakeTimers
public
config
:
SinonTestConfig
public
createStubInstance
:
(constructor: any) => SinonStub
public
expectation
:
SinonExpectationStatic
public
fakeServer
:
SinonFakeServerStatic
public
fakeServerWithClock
:
SinonFakeServerStatic
public
format
:
(obj: any) => string
public
log
:
(message: string) => void
public
match
:
SinonMatch
public
mock
:
SinonMockStatic
public
sandbox
:
SinonSandboxStatic
public
spy
:
SinonSpyStatic
public
stub
:
SinonStubStatic
public
useFakeTimers
:
SinonFakeTimersStatic
public
useFakeXMLHttpRequest
:
SinonFakeXMLHttpRequestStatic
Methods
public
restore
(
object
:
any
)
Parameters
object:
any
public
test
(
fn
:
(...args: any[]) => any
)
:
SinonTestWrapper
Parameters
fn:
(...args: any[]) => any
Returns
SinonTestWrapper
public
testCase
(
tests
:
any
)
:
any
Parameters
tests:
any
Returns
any
Globals
sinon