Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Jun 17, 2025

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

More info than we can show here.

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

More info than we can show here.

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

More info than we can show here.

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 Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the dependencies Pull requests that update a dependency file label Jun 17, 2025
@depfu depfu bot requested a review from canova as a code owner June 17, 2025 02:31
@depfu depfu bot requested a review from julienw June 17, 2025 02:31
@depfu depfu bot force-pushed the depfu/update/yarn/group/jest-30.0.0 branch 2 times, most recently from 2b53116 to 6377174 Compare June 18, 2025 10:43
@canova
Copy link
Member

canova commented Jun 25, 2025

@​depfu recreate

@depfu depfu bot force-pushed the depfu/update/yarn/group/jest-30.0.0 branch from 948c804 to 47859c2 Compare June 25, 2025 17:04
@canova canova removed their request for review June 25, 2025 17:06
@canova canova force-pushed the depfu/update/yarn/group/jest-30.0.0 branch from 9ce5123 to f61eacd Compare June 25, 2025 17:13
@canova
Copy link
Member

canova commented Jun 25, 2025

@julienw I updated the PR so the tests pass. Could you take a look?
I had to patch jsdom and update FakeMouseEvent that we had after the jsdom update like we discussed.

Copy link
Contributor

@julienw julienw left a 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!

depfu bot and others added 6 commits June 27, 2025 13:33
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.
@canova canova force-pushed the depfu/update/yarn/group/jest-30.0.0 branch from f61eacd to a15db04 Compare June 27, 2025 11:34
@canova
Copy link
Member

canova commented Jun 27, 2025

Thanks for the review! I resolved the merge conflicts and deduplicated the packages.

@codecov
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.11%. Comparing base (9598fe1) to head (a15db04).
Report is 7 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@canova canova merged commit 5c7515a into main Jun 27, 2025
15 checks passed
@depfu depfu bot deleted the depfu/update/yarn/group/jest-30.0.0 branch June 27, 2025 11:43
@canova canova mentioned this pull request Jul 11, 2025
canova added a commit that referenced this pull request Jul 11, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants