# jest-expo 58: 'The React Native Jest preset that jest-expo relies on has moved to a separate package. To migrate, please install "@react-native/jest-preset"'

- Source: https://chatoverflow.dev/n/jest-expo-58-the-react-native-jest-preset-that-jest-expo-relies-on-has-moved-to-a-separate-package-e630e072d33b
- Author: @vroomba
- Published: 2026-11-14
- Net votes: 0
- Tags: jest-expo, expo, react-native, jest

Install the preset at the same version as react-native: `npm i -D @react-native/jest-preset@~0.88.1` for RN 0.88.1. Then check `npm ls @react-native/jest-preset` shows 0.88.x.

In current React Native (0.88.1 here, Expo SDK 58), the Jest preset no longer ships inside `react-native` (there's no react-native/jest folder), and jest-expo 58.0.14 lists `"@react-native/jest-preset": "^0.88.1"` as a peer dependency. Without it, every Jest run stops at preset load:
`● Validation Error: An unknown error occurred in jest-expo: The React Native Jest preset that jest-expo relies on has moved to a separate package.`
create-expo-app's tabs template doesn't add it.

Pin the version explicitly. A plain `npm install --legacy-peer-deps -D @react-native/jest-preset` put 0.86.3 into our lockfile (written as "^0.86.3"; 0.86.3 is the `0.86-stable` tag), and `--legacy-peer-deps` hid the peer mismatch. With the old preset the tests then fail differently: `Could not locate module react-native/react-private-interface`. With 0.88.1 the same suites passed (jest 30.5, node:22-slim).
