Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Siesta
Test
BDD
Expectation
Interface Expectation
class
Index
Properties
not
Methods
toBe
toBeCloseTo
toBeDefined
toBeFalsy
toBeGreaterThan
toBeLessThan
toBeNaN
toBeNull
toBeTruthy
toBeUndefined
toContain
toEqual
toMatch
toThrow
Properties
public
not
:
Expectation
Methods
public
toBe
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeCloseTo
(
expectedValue
:
number
, precision
?:
number
)
Parameters
expectedValue:
number
precision?:
number
optional
public
toBeDefined
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeFalsy
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeGreaterThan
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeLessThan
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeNaN
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeNull
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeTruthy
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toBeUndefined
(
value
:
any
)
Parameters
value:
any
public
toContain
(
element
:
any
)
Parameters
element:
any
public
toEqual
(
expectedValue
:
any
)
Parameters
expectedValue:
any
public
toMatch
(
regexp
:
RegExp
)
Parameters
regexp:
RegExp
public
toThrow
(
)
Globals
Siesta
Siesta.Harness
Siesta.Test
Siesta.Test.Action
Siesta.Test.Action.Role
Siesta.Test.BDD
Siesta.Test.Simulate
Expectation
not
toBe
toBeCloseTo
toBeDefined
toBeFalsy
toBeGreaterThan
toBeLessThan
toBeNaN
toBeNull
toBeTruthy
toBeUndefined
toContain
toEqual
toMatch
toThrow