mjackson/expect

Expected {} to equal {}

Open

#225 opened on Aug 21, 2017

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

Description

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

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

Contributor guide