-
-
Notifications
You must be signed in to change notification settings - Fork 255
chore: update to Jest 29 and fix tests #7259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: fix/nock-jest28-compatibility
Are you sure you want to change the base?
Conversation
- Update all packages to use Jest 29 - Update root configuration and yarn.lock - Fix ts-jest configuration for Jest 29 - Fix TypeScript errors in UserOperationController tests - Update snapshots for Jest 29 format changes - Increase test timeout to 30s to prevent flakes
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
ba2528a to
7ad5f43
Compare
Explanation
References
Checklist
Note
Upgrade Jest to v29 across the monorepo, update related deps (ts-jest, jsdom, types), and fix/refresh tests and snapshots accordingly.
jestto v29 repo-wide; bumpts-jestto v29,jest-environment-jsdomto v29, and@types/jestto v29.call/publishtyping, APIs) for Jest 29.jsdomv20 and supporting packages) and refreshyarn.lock.Written by Cursor Bugbot for commit 7ad5f43. This will update automatically on new commits. Configure here.