Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Implement better async act detection #47

Closed
@bcarroll22

Description

@bcarroll22

Describe the feature you'd like:

As implemented by @threepointone in testing-library/react-testing-library#407, more can be done to check if the async version of act is available. We'll probably need to implement this here as well, even though there's no version of React Native yet that officially supports React 16.9.

Suggested implementation:

I'd imagine most of what's in the PR i referenced will work here, but I also don't know and async act (kinda act in general) is a bit of a mystery to me. Based off of a very high level overview of the PR, I think the tests would probably pass as well, assuming we get act from the test renderer instead of ReactTestUtils. But I'm not positive.

Describe alternatives you've considered:

We could always just not do this since no version of RN supports it and there haven't been any bug reports because of the current patch for those who already use the alpha in their apps.

Teachability, Documentation, Adoption, Migration Strategy:

Won't change anything here.

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