deepEqual doesn't work on Maps or Sets
Open
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 359
- PR merge metrics
- No merged PRs in 30d
Description
```
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
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the nodeunit.assert.deepEqual entry point and locate the existing tests for deep equality. Reproduce the Map and Set examples from this issue, then add coverage so unequal collections are rejected while matching collections retain the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100