Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Internal
Interface Internal
Hierarchy
ShouldInternal
Internal
Index
Call signatures
Properties
not
Methods
assert
deepEqual
doesNotThrow
equal
exist
exists
fail
ifError
inspect
notDeepEqual
notEqual
notStrictEqual
ok
strictEqual
throws
Call signatures
(
obj
:
any
)
:
ShouldAssertion
Parameters
obj:
any
Returns
ShouldAssertion
Properties
public
not
:
ShouldInternal
Methods
public
assert
(
value
:
any
, message
:
string
)
Parameters
value:
any
message:
string
public
deepEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
public
doesNotThrow
(
block
:
any
, message
?:
string
)
Parameters
block:
any
message?:
string
optional
public
equal
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
public
exist
(
actual
:
any
)
Parameters
actual:
any
public
exists
(
actual
:
any
)
Parameters
actual:
any
public
fail
(
actual
:
any
, expected
:
any
, message
:
string
, operator
:
string
)
Parameters
actual:
any
expected:
any
message:
string
operator:
string
public
ifError
(
value
:
any
)
Parameters
value:
any
public
inspect
(
value
:
any
, obj
:
any
)
:
any
Parameters
value:
any
obj:
any
Returns
any
public
notDeepEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
public
notEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
public
notStrictEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
public
ok
(
value
:
any
, message
?:
string
)
Parameters
value:
any
message?:
string
optional
public
strictEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
public
throws
(
block
:
any
, error
?:
any
, message
?:
string
)
Parameters
block:
any
error?:
any
optional
message?:
string
optional
Globals
should