Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chai
Expect
Interface Expect
Hierarchy
LanguageChains
NumericComparison
TypeComparison
Assertions
Expect
Index
Call signatures
Properties
Arguments
Throw
a
above
an
and
arguments
at
be
been
below
checked
contain
deep
disabled
empty
eq
eql
eqls
equal
equals
exist
false
greaterThan
gt
gte
have
haveOwnProperty
hidden
include
instanceOf
instanceof
is
itself
keys
least
length
lengthOf
lessThan
lt
lte
members
most
not
null
of
ok
ownProperty
property
same
selected
that
throw
throws
to
true
undefined
visible
with
Methods
attr
class
closeTo
css
data
html
id
key
match
respondTo
satisfy
string
text
value
within
Call signatures
(
type
:
string
, message
?:
string
)
:
Expect
Parameters
type:
string
message?:
string
optional
Returns
Expect
Properties
public
Arguments
:
Expect
public
Throw
:
Throw
public
a
:
TypeComparison
public
above
:
NumberComparer
public
an
:
TypeComparison
public
and
:
Expect
public
arguments
:
Expect
public
at
:
Expect
public
be
:
Expect
public
been
:
Expect
public
below
:
NumberComparer
public
checked
:
any
public
contain
:
Include
public
deep
:
Deep
public
disabled
:
any
public
empty
:
Expect
public
eq
:
Equal
public
eql
:
Equal
public
eqls
:
Equal
public
equal
:
Equal
public
equals
:
Equal
public
exist
:
Expect
public
false
:
Expect
public
greaterThan
:
NumberComparer
public
gt
:
NumberComparer
public
gte
:
NumberComparer
public
have
:
Expect
public
haveOwnProperty
:
OwnProperty
public
hidden
:
any
public
include
:
Include
public
instanceOf
:
InstanceOf
public
instanceof
:
InstanceOf
public
is
:
Expect
public
itself
:
Expect
public
keys
:
Keys
public
least
:
NumberComparer
public
length
:
Length
public
lengthOf
:
Length
public
lessThan
:
NumberComparer
public
lt
:
NumberComparer
public
lte
:
NumberComparer
public
members
:
Members
public
most
:
NumberComparer
public
not
:
Expect
public
null
:
Expect
public
of
:
Expect
public
ok
:
Expect
public
ownProperty
:
OwnProperty
public
property
:
Property
public
same
:
Expect
public
selected
:
any
public
that
:
Expect
public
throw
:
Throw
public
throws
:
Throw
public
to
:
Expect
public
true
:
Expect
public
undefined
:
Expect
public
visible
:
any
public
with
:
Expect
Methods
public
attr
(
name
:
string
, value
?:
string
)
:
any
Parameters
name:
string
value?:
string
optional
Returns
any
public
class
(
className
:
string
)
:
any
Parameters
className:
string
Returns
any
public
closeTo
(
expected
:
number
, delta
:
number
, message
?:
string
)
:
Expect
Parameters
expected:
number
delta:
number
message?:
string
optional
Returns
Expect
public
css
(
name
:
string
, value
?:
string
)
:
any
Parameters
name:
string
value?:
string
optional
Returns
any
public
data
(
name
:
string
, value
?:
string
)
:
any
Parameters
name:
string
value?:
string
optional
Returns
any
public
html
(
html
:
string
)
:
any
Parameters
html:
string
Returns
any
public
id
(
id
:
string
)
:
any
Parameters
id:
string
Returns
any
public
key
(
string
:
string
)
:
Expect
Parameters
string:
string
Returns
Expect
public
match
(
RegularExpression
:
RegExp
, message
?:
string
)
:
Expect
Parameters
RegularExpression:
RegExp
message?:
string
optional
Returns
Expect
public
respondTo
(
method
:
string
, message
?:
string
)
:
Expect
Parameters
method:
string
message?:
string
optional
Returns
Expect
public
satisfy
(
matcher
:
Function
, message
?:
string
)
:
Expect
Parameters
matcher:
Function
message?:
string
optional
Returns
Expect
public
string
(
string
:
string
, message
?:
string
)
:
Expect
Parameters
string:
string
message?:
string
optional
Returns
Expect
public
text
(
text
:
string
)
:
any
Parameters
text:
string
Returns
any
public
value
(
value
:
string
)
:
any
Parameters
value:
string
Returns
any
public
within
(
start
:
number
, finish
:
number
, message
?:
string
)
:
Expect
Parameters
start:
number
finish:
number
message?:
string
optional
Returns
Expect
Globals
chai
Assertions
Be
Deep
Equal
Expect
Arguments
Throw
a
above
an
and
arguments
at
be
been
below
checked
contain
deep
disabled
empty
eq
eql
eqls
equal
equals
exist
false
greaterThan
gt
gte
have
haveOwnProperty
hidden
include
instanceOf
instanceof
is
itself
keys
least
length
lengthOf
lessThan
lt
lte
members
most
not
null
of
ok
ownProperty
property
same
selected
that
throw
throws
to
true
undefined
visible
with
attr
class
closeTo
css
data
html
id
key
match
respondTo
satisfy
string
text
value
within
ExpectStatic
Have
Include
InstanceOf
Keys
LanguageChains
Length
Members
NameValueMatcher
NameValueRegexMatcher
NumberComparer
NumericComparison
OwnProperty
Property
Throw
TypeComparison
expect
use