You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependabot PR #247 (dev-dependencies group) fails CI at the Jest step: all 9 suites crash at setup and 0 tests run.
Root cause
The group bumps two packages whose major version is the Expo SDK number:
jest-expo 57.0.5 -> 58.0.14
eslint-config-expo 57.0.2 -> 58.0.4
The app is on SDK 57 / react-native 0.86.3.
jest-expo@58 targets RN 0.88. Its preset maps react-native/asset-registry to react-native/src/asset-registry.js, a path that does not exist in RN 0.86 (the registry lives in Libraries/Image/AssetRegistry.js):
Configuration error:
Could not locate module react-native/asset-registry mapped as:
.../node_modules/react-native/src/asset-registry.js
eslint-config-expo@58 makes expo-doctor report a major mismatch (expected ~57.0.2).
.github/dependabot.yml already ignores expo-*, @react-native/* etc., but jest-expo and eslint-config-expo don't match those patterns, so they slip through.
The other bumps in the group (@babel/core 7.29.13, prettier 3.9.10) pass every check.
Proposal
Add jest-expo and eslint-config-expo to the Dependabot ignore list for semver-major, like the other SDK-driven packages. Their patches stay aligned by npx expo install --fix, and majors move with the SDK upgrade. Once merged, Dependabot should regenerate #247 with only the safe bumps.
Acceptance criteria
Dependabot no longer proposes SDK-major bumps of jest-expo / eslint-config-expo.
The regenerated dev-dependencies PR passes Jest and expo-doctor.
Activity