Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
assert
Dynamic module assert
Index
Functions
internal
Functions
internal
(
value
:
any
, message
?:
string
)
Parameters
value:
any
message?:
string
optional
doesNotThrow
:
{ (block: Function, message?: string): void; (block: Function, error: Function, message?: string): void; (block: Function, error: RegExp, message?: string): void; (block: Function, error: (err: any) => boolean, message?: string): void; }
(
)
(
)
(
)
(
)
throws
:
{ (block: Function, message?: string): void; (block: Function, error: Function, message?: string): void; (block: Function, error: RegExp, message?: string): void; (block: Function, error: (err: any) => boolean, message?: string): void; }
(
)
(
)
(
)
(
)
AssertionError
:
AssertionError
constructor
(
options
?:
{ message?: string; actual?: any; expected?: any; operator?: string; stackStartFunction?: Function; }
)
:
AssertionError
Parameters
options?:
{ message?: string; actual?: any; expected?: any; operator?: string; stackStartFunction?: Function; }
optional
Returns
AssertionError
public
actual
:
any
public
expected
:
any
public
generatedMessage
:
boolean
public
message
:
string
public
name
:
string
public
operator
:
string
deepEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
equal
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
fail
(
actual
?:
any
, expected
?:
any
, message
?:
string
, operator
?:
string
)
Parameters
actual?:
any
optional
expected?:
any
optional
message?:
string
optional
operator?:
string
optional
ifError
(
value
:
any
)
Parameters
value:
any
notDeepEqual
(
acutal
:
any
, expected
:
any
, message
?:
string
)
Parameters
acutal:
any
expected:
any
message?:
string
optional
notEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
notStrictEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
ok
(
value
:
any
, message
?:
string
)
Parameters
value:
any
message?:
string
optional
strictEqual
(
actual
:
any
, expected
:
any
, message
?:
string
)
Parameters
actual:
any
expected:
any
message?:
string
optional
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
grunt
grunt
grunt.config
grunt.event
grunt.fail
grunt.file
grunt.log
grunt.option
grunt.task
grunt.template
grunt.util
http
https
minimatch
net
node
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
internal