Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
jasmine
Spec
Interface Spec
Hierarchy
SuiteOrSpec
Spec
Index
Construct signatures
constructor
Properties
afterCallbacks
description
env
id
matchersClass
queue
results_
spies_
suite
Methods
addBeforesAndAftersToQueue
addMatcherResult
addMatchers
addToQueue
after
execute
expect
explodes
fail
finish
finishCallback
getFullName
getMatchersClass_
log
removeAllSpies
results
runs
spyOn
waits
waitsFor
Construct signatures
constructor
(
env
:
Env
, suite
:
Suite
, description
:
string
)
:
any
Parameters
env:
Env
suite:
Suite
description:
string
Returns
any
Properties
public
afterCallbacks
:
SpecFunction
[]
public
description
:
string
public
env
:
Env
public
id
:
number
public
matchersClass
:
Matchers
public
queue
:
Queue
public
results_
:
NestedResults
public
spies_
:
Spy
[]
public
suite
:
Suite
Methods
public
addBeforesAndAftersToQueue
(
)
public
addMatcherResult
(
result
:
Result
)
Parameters
result:
Result
public
addMatchers
(
matchersPrototype
:
any
)
Parameters
matchersPrototype:
any
public
addToQueue
(
block
:
Block
)
Parameters
block:
Block
public
after
(
doAfter
:
SpecFunction
)
Parameters
doAfter:
SpecFunction
public
execute
(
onComplete
?:
() => void
)
:
any
Parameters
onComplete?:
() => void
optional
Returns
any
public
expect
(
actual
:
any
)
:
any
Parameters
actual:
any
Returns
any
public
explodes
(
)
public
fail
(
e
?:
any
)
Parameters
e?:
any
optional
public
finish
(
onComplete
?:
() => void
)
Parameters
onComplete?:
() => void
optional
public
finishCallback
(
)
public
getFullName
(
)
:
string
Returns
string
public
getMatchersClass_
(
)
:
Matchers
Returns
Matchers
public
log
(
arguments
:
any
)
:
any
Parameters
arguments:
any
Returns
any
public
removeAllSpies
(
)
public
results
(
)
:
NestedResults
Returns
NestedResults
public
runs
(
func
:
SpecFunction
)
:
Spec
Parameters
func:
SpecFunction
Returns
Spec
public
spyOn
(
obj
:
any
, methodName
:
string
, ignoreMethodDoesntExist
:
boolean
)
:
Spy
Parameters
obj:
any
methodName:
string
ignoreMethodDoesntExist:
boolean
Returns
Spy
public
waits
(
timeout
:
number
)
:
Spec
Parameters
timeout:
number
Returns
Spec
public
waitsFor
(
latchFunction
:
SpecFunction
, timeoutMessage
?:
string
, timeout
?:
number
)
:
Spec
Parameters
latchFunction:
SpecFunction
timeoutMessage?:
string
optional
timeout?:
number
optional
Returns
Spec
Globals
jasmine
jquery
HtmlReporter
HtmlSpecFilter
JQuery
clock
Any
Block
Calls
Clock
Env
ExpectationResult
FakeTimer
Fixtures
JQueryEventSpy
JSONFixtures
Jasmine
JasmineJQuery
JasmineJQueryEvents
JsApiReporter
Matchers
MessageResult
MultiReporter
NestedResults
ObjectContaining
PrettyPrinter
Queue
Reporter
Result
Runner
Spec
constructor
afterCallbacks
description
env
id
matchersClass
queue
results_
spies_
suite
addBeforesAndAftersToQueue
addMatcherResult
addMatchers
addToQueue
after
execute
expect
explodes
fail
finish
finishCallback
getFullName
getMatchersClass_
log
removeAllSpies
results
runs
spyOn
waits
waitsFor
SpecFunction
Spy
SpyAnd
StringPrettyPrinter
StyleFixtures
Suite
SuiteOrSpec
Trace
Util
WaitsBlock
WaitsForBlock
XSpec
XSuite
any
createSpy
createSpyObj
getEnv
getFixtures
getJSONFixtures
getStyleFixtures
objectContaining
pp
spiedEventsKey