Skip to content

If ONE condition fails in toMatchObject, ALL expect.any's will show as different #8652

Closed
@dandv

Description

@dandv

I know this issue was reported before, but I can't seem to find it.

Quick, what is the real difference here?

image

Took me several minutes gawking repeatedly at the keys and values, until I could spot it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions