Skip to content

0.85.0-rc missing @react-native/jest-preset from devDependencies #211

@leotm

Description

@leotm

Description

@react-native/jest-preset is missing from

"@react-native/babel-preset": "nightly",
"@react-native/eslint-config": "nightly",
"@react-native/metro-config": "nightly",
"@react-native/typescript-config": "nightly",

Steps to reproduce

Init/upgrade

  • 0.85.0-rc.0
  • 0.85.0-rc.1
  • 0.86.0-nightly

Run

  1. yarn install
    2a. yarn test
    2b. yarn exec jest

"test": "jest"

React Native Community Template Version

  • 0.85.0-rc.0
  • 0.85.0-rc.1
  • 0.86.0-nightly

Affected Platforms

Build - MacOS

Output of npx @react-native-community/cli@latest info

react-native-template-new-architecture % npx @react-native-community/cli@latest info
info Fetching system and libraries information...
System:
  OS: macOS 26.4
  CPU: (12) arm64 Apple M2 Pro
  Memory: 338.50 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /opt/homebrew/bin/zsh
Binaries:
  Node:
    version: 22.22.1
    path: /Users/leo/.local/state/fnm_multishells/39985_1773269831989/bin/node
  Yarn:
    version: 4.12.0
    path: /Users/leo/.local/state/fnm_multishells/39985_1773269831989/bin/yarn
  npm:
    version: 10.9.4
    path: /Users/leo/.local/state/fnm_multishells/39985_1773269831989/bin/npm
  Watchman:
    version: 2026.03.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /var/folders/w0/pbc5gqt14yjg4b1y7s6x6wpw0000gn/T/frum_39986_1773269832000/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.4
      - iOS 26.4
      - macOS 26.4
      - tvOS 26.4
      - visionOS 26.4
      - watchOS 26.4
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 26.4/17E5179g
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.18
    path: /Users/leo/.jenv/shims/javac
  Ruby:
    version: 3.4.7
    path: /var/folders/w0/pbc5gqt14yjg4b1y7s6x6wpw0000gn/T/frum_39986_1773269832000/bin/ruby
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.85.0-rc.1
    wanted: 0.85.0-rc.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

react-native-template-new-architecture % yarn test
● Validation Error:

  Preset @react-native/jest-preset not found.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

react-native-template-new-architecture % yarn bin jest
/Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/jest/bin/jest.js

Reproducer

https://github.com/leotm/react-native-template-new-architecture

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions