mjackson/expect

Expected {} to equal {}

Open

#225 opened on Aug 21, 2017

 (1 comment) (1 reaction) (0 assignees)JavaScript (115 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (2,270 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