Skip to content

lib: generalize handling in assert.deepEqual()

Error objects have non-enumerable properties. So, unexpectedly, assert.deepEqual(new Error('a'), new Error('b')); will not throw. This commit changes that behavior.

Fixes: https://github.com/nodejs/node/issues/3122

Merge request reports

Loading