Closed alex7kom closed 2 years ago
Some tests in this project use deep-equal module instead of assert.deepEqual(), however deep-equal never throws, it just returns a boolean, so the tests with just deep-equal will never fail. Tests with deep-equal should probably use assert.ok().
deep-equal
assert.deepEqual()
assert.ok()
Wow, you are right. Great catch!
Some tests in this project use
deep-equal
module instead ofassert.deepEqual()
, howeverdeep-equal
never throws, it just returns a boolean, so the tests with justdeep-equal
will never fail. Tests withdeep-equal
should probably useassert.ok()
.