-
Notifications
You must be signed in to change notification settings - Fork 452
Update all of jest 29.7.0 → 30.0.0 (major) #5495
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
Conversation
2b53116 to
6377174
Compare
|
@depfu recreate |
948c804 to
47859c2
Compare
9ce5123 to
f61eacd
Compare
|
@julienw I updated the PR so the tests pass. Could you take a look? |
julienw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks this looks good to me!
Jest version 30 page mentions this as a known issue: https://jestjs.io/blog/2025/06/04/jest-30#known-issues It looks like the new version of jsdom made window.location non-configurable. This is not great because we mock it in our tests since jsdom/jest doesn't provide everything we want. Unfortunately jsdom is not very positive on fixing this. See: jsdom/jsdom#3492
…roperties Previously MouseEvent in jsdom didn't have attributes like pageX,pageY. Now it supports it, but these properties only have getters and not setters. That's why we are overriding these properties with Object.defineProperties to fix the errors.
It looks like background css property wasn't added properly before even though this property was always added. New version of JSDOM seems like fixed it.
f61eacd to
a15db04
Compare
|
Thanks for the review! I resolved the merge conflicts and deduplicated the packages. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5495 +/- ##
==========================================
- Coverage 86.11% 86.11% -0.01%
==========================================
Files 308 308
Lines 29652 29652
Branches 8001 8001
==========================================
- Hits 25536 25534 -2
- Misses 3526 3528 +2
Partials 590 590 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Changes: [Nazım Can Altınova] Fix issues related to the track borders (#5484) [Nazım Can Altınova] Remove the active tab and origins views (#5483) [Julien Wajsberg] Automatically request reviews for dependency updates (#5490) [Julien Wajsberg] Update fetch-mock-jest to @fetch-mock/jest (#5488) [Steve Fink] Document marker filter syntax (#5493) [Nazım Can Altınova] Update all of jest 29.7.0 → 30.0.0 (major) (#5495) [Nazım Can Altınova] Order global tracks by activity and select the most active non-parent process by default (#5491) [Paul Adenot] Allow searching for HTTP response status in marker views (#5504) [Nazım Can Altınova] Expose a `totalMarkerDuration` function in console (#5507) [Nazım Can Altınova] 🔃 Sync: l10n -> main (July 11, 2025) (#5510) And thanks to our localizers: el: Jim Spentzos kab: ZiriSut tr: Grk tr: Selim Şumlu uk: Artem Polivanchuk
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ babel-jest (29.7.0 → 30.0.0) · Repo · Changelog
Release Notes
30.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
✳️ jest (29.7.0 → 30.0.0) · Repo · Changelog
Release Notes
30.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
✳️ jest-environment-jsdom (29.7.0 → 30.0.0) · Repo · Changelog
Release Notes
30.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands