deepEqual doesn't work on Maps or Sets
未关闭
- 主要语言
- JavaScript
- 星标
- 1.9k
- 派生
- 359
- PR 合并指标
- 30 天内没有已合并 PR
描述
```
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
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- testing
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100