-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Update Jest to ^29.2.1 #35014
Update Jest to ^29.2.1 #35014
Conversation
Summary: X-link: facebook/metro#881 Following on from D39543504 (facebook@c27501b) and D40379963 (facebook@8f33753), this updates Jest to the latest version 29.2.1 across projects and in the OSS React Native new app template. Importantly this version includes the [new `jest.now()` API](jestjs/jest#13245), which will be useful for exposing internally consistent fake timer mocks of `requestAnimationFrame`, etc., in the new React Native Jest environment. [General] [Changed] - Upgrade Jest in React Native template to ^29.2.1 Differential Revision: D40386349 fbshipit-source-id: 524a6f19008abcd5b0dad02ef2c3f1c39d10cc29
This pull request was exported from Phabricator. Differential Revision: D40386349 |
Summary: X-link: facebook/react-native#35014 Pull Request resolved: #881 Following on from facebook/react-native#34724 and facebook/react-native#34972, this updates Jest to the latest version 29.2.1 across projects and in the OSS React Native new app template. Importantly this version includes the [new `jest.now()` API](jestjs/jest#13245), which will be useful for exposing internally consistent fake timer mocks of `requestAnimationFrame`, etc., in the new React Native Jest environment. Changelog: [General] [Changed] - Upgrade Jest in React Native template to ^29.2.1 Reviewed By: jacdebug Differential Revision: D40386349 fbshipit-source-id: 43f5a69cf546df09e2f02542ebf50130d65f0436
This pull request was successfully merged by @robhogan in 45db65b. When will my fix make it into a release? | Upcoming Releases |
Why are you adding |
It's used in the jest preset |
@SimenB cool.
|
That version came out in june 2021, I don't think that's a big issue. |
Summary: Pull Request resolved: facebook#35014 X-link: facebook/metro#881 Following on from facebook#34724 and facebook#34972, this updates Jest to the latest version 29.2.1 across projects and in the OSS React Native new app template. Importantly this version includes the [new `jest.now()` API](jestjs/jest#13245), which will be useful for exposing internally consistent fake timer mocks of `requestAnimationFrame`, etc., in the new React Native Jest environment. Changelog: [General] [Changed] - Upgrade Jest in React Native template to ^29.2.1 Reviewed By: jacdebug Differential Revision: D40386349 fbshipit-source-id: 43f5a69cf546df09e2f02542ebf50130d65f0436
Summary:
X-link: facebook/metro#881
Following on from #34724 and #34972, this updates Jest to the latest version 29.2.1 across projects and in the OSS React Native new app template.
Importantly this version includes the new
jest.now()
API, which will be useful for exposing internally consistent fake timer mocks ofrequestAnimationFrame
, etc., in the new React Native Jest environment.Changelog:
[General] [Changed] - Upgrade Jest in React Native template to ^29.2.1
Differential Revision: D40386349