Skip to content

Conversation

MillerSvt
Copy link
Contributor

Summary

Test plan

Closes: #15589, #15471

Copy link

netlify bot commented May 8, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6011a70
🔍 Latest deploy log https://app.netlify.com/sites/jestjs/deploys/6821b0c93037b10008850870
😎 Deploy Preview https://deploy-preview-15590--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@MillerSvt
Copy link
Contributor Author

@SimenB please release this as fix for jest@29. ASAP

@cpojer
Copy link
Member

cpojer commented May 12, 2025

Where is this Window object coming from?

@MillerSvt
Copy link
Contributor Author

In jsdom environment, when we create new Blob(), new File(). Window object stored in blob[Symbol(impl)]._globalObject. And .toEqual matcher tries to clone it.

@cpojer cpojer merged commit d866589 into jestjs:main May 12, 2025
7 of 8 checks passed
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: toEqual throws type error
2 participants