microsoft / microsoft/react-native-windows
Forked jest/setup.js to make up for missing RefreshControl Mock
@iamAbhi-916 is already working on this.
Since Jul 29, 2025.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.