Skip to content

Support resolves/rejects matchers for asynchronous queries #51

@thomaslombart

Description

@thomaslombart

As stated in #48, we are not handling the case where a user wraps a query in an expect statement and then uses the resolves or rejects matchers. For example, the following statement will trigger an error even if it's a valid case:

expect(findByText("foo")).resolves.toBe("bar")

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