mjackson/expect

Expected {} to equal {}

Open

#225 opened on Aug 21, 2017

View on GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (132 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (2,290 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

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

Contributor guide