You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue 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.
Version
27.5.1 / v28.0.0-alpha.7
Steps to reproduce
try to use the global
structuredClone
inside a test(https://nodejs.org/api/globals.html#structuredclonevalue-options)
(https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)
Expected behavior
it is defined and works
Actual behavior
global.structuredClone
is not definedAdditional context
Running the same code outside of jest works fine, but somehow jest seems to delete that global?
str.js:
str.test.js:
Environment
The text was updated successfully, but these errors were encountered: