Skip to content

Matchers interface should support value of type number #180

Closed

Description

On react native the value of css properties like margin and padding are numbers. With the current Matchers interface, it's not possible to check for these properties like this .toHaveStyleRyle('marginTop', 10).
If this change is ok, I'd like to submit a PR for it.

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

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