mjackson/expect

Expected {} to equal {}

Open

#225 创建于 2017年8月21日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)JavaScript (2,290 star) (132 fork)batch import
enhancementhelp wanted

描述

> expect(Object.create(null)).toEqual({})
Error: Expected {} to equal {}

They are different, because of prototype, but the output is weird.

贡献者指南

Expected {} to equal {} · mjackson/expect#225 | Good First Issue