Description
looks like every nightly and new rc release since
ships with
- missing @react-native/jest-preset
- failing test script
we should merge
ideally before 0.87-stable to prevent future
then likely extend scripts\__tests__\package_json-test.js
to ensure all current @react-native/... scoped packages are present
i considered extending github.com/facebook/react-native/blob/main/.github/workflows/test-all.yml
since neither test_e2e_android_templateapp nor test_e2e_ios_templateapp cover yarn test
but a future breakage here causing all facebook/react-native PRs to break is a risk not worth it
cc @kitten @huntie @cortinico wdyt
Steps to reproduce
1a. npx @react-native-community/cli@latest init yo --version 0.85.0-nightly-20260217-db45c280e
1b. npx @react-native-community/cli@latest init yo --version 0.87.0-nightly-20260519-58cd1bf58
1c. npx @react-native-community/cli@latest init yo --version nightly
3. cd yo
4. yarn test
React Native Community Template Version
0.85.0-nightly-20260217-db45c280e, nightly
Affected Platforms
Build - Linux, Build - Windows, Build - MacOS
Output of npx @react-native-community/cli@latest info
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26200
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700K
Memory: 4.50 GB / 31.79 GB
Binaries:
Node:
version: 24.14.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.22
path: C:\Program Files\nodejs\yarn.CMD
npm:
version: 11.9.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "34"
- "36"
Build Tools:
- 34.0.0
- 35.0.0
- 36.0.0
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java:
version: javac 26
path: C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 20.1.0
wanted: 20.1.0
react:
installed: 19.2.3
wanted: 19.2.3
react-native:
installed: 0.87.0-nightly-20260519-58cd1bf58
wanted: nightly
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
yarn run v1.22.22
$ jest
● Validation Error:
Preset @react-native/jest-preset not found.
Configuration Documentation:
https://jestjs.io/docs/configuration
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Reproducer
npx @react-native-community/cli@latest init MyApp --version nightly
Screenshots and Videos
No response
Description
looks like every nightly and new rc release since
@react-native/jest-presetfacebook/react-native#55169ships with
we should merge
ideally before 0.87-stable to prevent future
then likely extend
scripts\__tests__\package_json-test.jsto ensure all current
@react-native/...scoped packages are presenti considered extending
github.com/facebook/react-native/blob/main/.github/workflows/test-all.ymlsince neither
test_e2e_android_templateappnortest_e2e_ios_templateappcover yarn testbut a future breakage here causing all facebook/react-native PRs to break is a risk not worth it
cc @kitten @huntie @cortinico wdyt
Steps to reproduce
1a. npx @react-native-community/cli@latest init yo --version 0.85.0-nightly-20260217-db45c280e
1b. npx @react-native-community/cli@latest init yo --version 0.87.0-nightly-20260519-58cd1bf58
1c. npx @react-native-community/cli@latest init yo --version nightly
3. cd yo
4. yarn test
React Native Community Template Version
0.85.0-nightly-20260217-db45c280e, nightly
Affected Platforms
Build - Linux, Build - Windows, Build - MacOS
Output of
npx @react-native-community/cli@latest infoStacktrace or Logs
Reproducer
npx @react-native-community/cli@latest init MyApp --version nightly
Screenshots and Videos
No response