microsoft / microsoft/react-native-windows

Forked jest/setup.js to make up for missing RefreshControl Mock

Open
#14,929 1 comment 0 reactions 1 assignee View on GitHub

@iamAbhi-916 is already working on this.

Since Jul 29, 2025.

bug Integration Follow-up
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

Upstream stopped publishing files in any __mocks__ folders, which is fine, except it breaks tests that verify the RefreshControl (because the mock is now missing).

Link to the integration PR where the error originated

https://github.com/microsoft/react-native-windows/pull/14844

Link to react-native commit

https://github.com/facebook/react-native/commit/d1cf58484df81f26dfe81639a96826eb45e8c898

Forked files

vnext/src-win/jest/setup.js

Upstream PR in react-native

This was already fixed upstream, we're just not there yet. Once these PRs are merged, this override should be removed.

in main: https://github.com/facebook/react-native/commit/6044e01460a065845d4178f0fdc54a601ce4c07e

in 0.80-stable: https://github.com/facebook/react-native/commit/aeab69a7442872d5fcee37c5d3864d7f48a4a13a

Build Configuration

Release

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.