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
// https://github.com/vercel/next.js/pull/67539 added more imports to "globals" modules which does have a side effect at import time
58
+
// that defines NOT configurable global property ( https://github.com/vercel/next.js/blob/ba3959bb46f4d0e92403304579b8fb30d3ecc3d1/packages/next/src/server/web/globals.ts#L87-L107 ).
59
+
// Running multiple fixtures in the same process then would evaluate copy of that module
60
+
// and attempt to redefine that not configurable property which result in an error. We can't delete that property either, so
61
+
// this "patch" to Object.defineProperty is making that property configurable when running our tests to avoid that error.
0 commit comments