Skip to content

deep.equal() and deep.include() doesn't work with Error #1009

Description

@marian-r

deep.equal() and deep.include() doesn't compare the object keys as I expect it to. I found the issue when upgrading to v4 as the deep.equal() works fine in v3.5. It stopped working in v4+.

Here is a code to confirm the issue: https://jsfiddle.net/wLzrucae/3/.

I tried adding error to the allowed types for include() assertion, but it still failed on comparison. Any ideas?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions