Files
react-native/packages/react-native
Alex Hunt aeab69a744 Move RefreshControlMock into Jest preset files (#51530)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51530

Alternative to https://github.com/facebook/react-native/pull/50784.

`__mocks__` (and other underscored dirs) are correctly excluded from our npm package via `package.json#files`. But in this instance, this is a source file for the `jest/` directory (Jest preset within `react-native`), and should be included — fix by relocating.

Changelog:
[General][Fixed] - Fix missing RefreshControlMock source in Jest preset

Reviewed By: rshest

Differential Revision: D75215731

fbshipit-source-id: 1240344c4236288f31b16513f4df16766ad1e571
2025-06-23 13:51:07 +01:00
..
2025-04-02 17:27:55 -07:00
2025-04-24 09:44:26 -07:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-06-12 15:27:37 +00:00
2025-05-06 11:21:57 +01:00
2025-06-12 15:27:37 +00:00
2025-04-20 18:08:18 -07:00

Where is the template?

The React Native Template has moved from being shipping inside the react-native package to it's own package: @react-native-community/template.

Why has it moved?

The React Native Frameworks RFC0759 provides background information.

When was it moved?

The 0.75 release.