Skip to content

[0.80] Move RefreshControlMock into Jest preset files #983

Open
@mdjastrzebski

Description

@mdjastrzebski

Target Branch

0.80-stable

Link to commit or PR to be picked

facebook/react-native#51530

Description

This PR fixes a regression introduced in 0.80 which breaks the Jest & RN Testing Library tests when users use RefreshControl (directly or indirectly, e.g. through RN Gesture Handler).

See also: callstack/react-native-testing-library#1770

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions