Automattic / Automattic/expect.js

expect([]).to.eql({}) is true?

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

I believe it should not. Maybe you could compare the internal class name `Object.prototype.toString.call(obj)`? That would also fix #61 and #60. Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.