assert
Assert
Stability: 2 - Stable
The assert
module provides a simple set of assertion tests that can be used to test invariants.
assert(value[, message])
-
value
<any> -
message
<any>
An alias of assert.ok()
.
assert.deepEqual(actual, expected[, message])
-
actual
<any> -
登录查看完整内容