Skip to content

Does react-native-testing-library work on react-native 0.60.6? #668

Closed
@FrederickEngelhardt

Description

@FrederickEngelhardt

Ask your Question

Does react-native-testing-library work on react-native 0.60.6?

Follow up question: Should react-native-testing-library be bumped to require >=0.61.0

Looks like react-native on 0.60.6 requires react on 16.8.6 which is below the required 16.9.0 for react-native-testing-library. Is 0.60.6 compatible or should the documentation be changed to >=0.61.0.

This is in response to the documentation quote

In order to properly use helpers for async tests (findBy queries and waitFor) you need at least React >=16.9.0 (featuring async act) or React Native >=0.60 (which comes with React >=16.9.0).

Upgrade link for 0.60.6 -> 0.61.0 diff
https://react-native-community.github.io/upgrade-helper/?from=0.60.6&to=0.61.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions