mjackson/expect

Expected {} to equal {}

Open

#225 aberto em 21 de ago. de 2017

Ver no 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.

Guia do colaborador