diff --git a/frontend/jest.setup.ts b/frontend/jest.setup.ts index dd410b6e98..80e181b4ea 100644 --- a/frontend/jest.setup.ts +++ b/frontend/jest.setup.ts @@ -66,10 +66,6 @@ jest.mock('next/navigation', () => { } }) -if (!global.structuredClone) { - global.structuredClone = (val) => JSON.parse(JSON.stringify(val)) -} - beforeAll(() => { if (typeof globalThis !== 'undefined') { jest.spyOn(globalThis, 'requestAnimationFrame').mockImplementation((cb) => {