Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
SinonSpyCall
Interface SinonSpyCall
Hierarchy
SinonSpyCallApi
SinonSpyCall
Index
Properties
args
exception
returnValue
thisValue
Methods
callArg
callArgOn
callArgOnWith
callArgWith
calledAfter
calledBefore
calledOn
calledWith
calledWithExactly
calledWithMatch
calledWithNew
notCalledWith
notCalledWithMatch
returned
threw
yield
yieldOn
yieldTo
yieldToOn
Properties
public
args
:
Array<any>
public
exception
:
any
public
returnValue
:
any
public
thisValue
:
any
Methods
public
callArg
(
pos
:
number
)
Parameters
pos:
number
public
callArgOn
(
pos
:
number
, obj
:
any
, args
?:
Array<any>
)
Parameters
pos:
number
obj:
any
args?:
Array<any>
optional
public
callArgOnWith
(
pos
:
number
, obj
:
any
, args
?:
Array<any>
)
Parameters
pos:
number
obj:
any
args?:
Array<any>
optional
public
callArgWith
(
pos
:
number
, args
?:
Array<any>
)
Parameters
pos:
number
args?:
Array<any>
optional
public
calledAfter
(
call
:
SinonSpyCall
)
:
boolean
Parameters
call:
SinonSpyCall
Returns
boolean
public
calledBefore
(
call
:
SinonSpyCall
)
:
boolean
Parameters
call:
SinonSpyCall
Returns
boolean
public
calledOn
(
obj
:
any
)
:
boolean
Parameters
obj:
any
Returns
boolean
public
calledWith
(
args
?:
Array<any>
)
:
boolean
Parameters
args?:
Array<any>
optional
Returns
boolean
public
calledWithExactly
(
args
?:
Array<any>
)
:
boolean
Parameters
args?:
Array<any>
optional
Returns
boolean
public
calledWithMatch
(
args
?:
SinonMatcher
[]
)
:
boolean
Parameters
args?:
SinonMatcher
[]
optional
Returns
boolean
public
calledWithNew
(
call
:
SinonSpyCall
)
:
boolean
Parameters
call:
SinonSpyCall
Returns
boolean
public
notCalledWith
(
args
?:
Array<any>
)
:
boolean
Parameters
args?:
Array<any>
optional
Returns
boolean
public
notCalledWithMatch
(
args
?:
SinonMatcher
[]
)
:
boolean
Parameters
args?:
SinonMatcher
[]
optional
Returns
boolean
public
returned
(
value
:
any
)
:
boolean
Parameters
value:
any
Returns
boolean
public
threw
(
)
:
boolean
Returns
boolean
public
threw
(
type
:
string
)
:
boolean
Parameters
type:
string
Returns
boolean
public
threw
(
obj
:
any
)
:
boolean
Parameters
obj:
any
Returns
boolean
public
yield
(
args
?:
Array<any>
)
Parameters
args?:
Array<any>
optional
public
yieldOn
(
obj
:
any
, args
?:
Array<any>
)
Parameters
obj:
any
args?:
Array<any>
optional
public
yieldTo
(
property
:
string
, args
?:
Array<any>
)
Parameters
property:
string
args?:
Array<any>
optional
public
yieldToOn
(
property
:
string
, obj
:
any
, args
?:
Array<any>
)
Parameters
property:
string
obj:
any
args?:
Array<any>
optional
Globals
sinon