HF RL Explorer

Bug: globalsCleanup set to 'off' still triggers TypeError from Object.assign due to protection symbol

Bug: globalsCleanup set to 'off' still triggers TypeError from Object.assign due to protection symbol: a task in LegoFlow-SWE (Harbor dataset). When Jest’s globalsCleanup feature is configured as 'off' , third‑party libraries that call Object.assign() on plain objects can still throw a TypeError…

The task

When Jest’s `globalsCleanup` feature is configured as `'off'`, third‑party libraries that call `Object.assign()` on plain objects can still throw a `TypeError` because a read‑only `Symbol($$jest-protect-from-deletion)` property is unexpectedly present on the objects.

Part of Lego-X/LegoFlow-SWE.