Skip to content

chore: Upgrade Jest to 30.4.2#1047

Closed
mrousavy wants to merge 1 commit into
mainfrom
chore/upgrade-jest-30.4.2
Closed

chore: Upgrade Jest to 30.4.2#1047
mrousavy wants to merge 1 commit into
mainfrom
chore/upgrade-jest-30.4.2

Conversation

@mrousavy

Copy link
Copy Markdown
Owner

Summary

  • Upgrade Jest to 30.4.2 and @types/jest to 30.0.0.
  • Add root overrides for the Jest 30.4 runtime graph (expect, jest-environment-node, and jest-mock) so React Native 0.82's Jest preset does not resolve the older Jest 29/30.2 environment/mock packages.

Notes

  • The standalone Jest bump initially failed with this._moduleMocker.clearMocksOnScope is not a function; the override keeps the runtime, environment, and mocker on compatible 30.4 versions.
  • Once the React Native 0.85 PR lands, this may be revisited because RN's Jest preset packaging changed there.

Validation

  • bun install
  • bun typecheck
  • bun run test
  • bun lint-ci
  • git diff --check

Jest passed with the existing Watchman recrawl warning.

@mrousavy mrousavy marked this pull request as ready for review May 27, 2026 20:28
@mrousavy mrousavy force-pushed the chore/upgrade-jest-30.4.2 branch 5 times, most recently from eef342c to 8693f5d Compare May 28, 2026 08:39
@mrousavy

Copy link
Copy Markdown
Owner Author

Superseded by #1063, which folds the package upgrades into one PR.

@mrousavy mrousavy closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant