nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

deepEqual doesn't work on Maps or Sets

Open hildjj opened this issue 10 years ago • 0 comments

var nodeunit = require('nodeunit');
nodeunit.assert.deepEqual(new Map([[1,2]]), new Map([[3,4]]));
// expected: exception
nodeunit.assert.deepEqual(new Set([1]), new Set([2]));
// expected: exception

hildjj avatar Sep 21 '15 19:09 hildjj