diff --git a/client/tests/jest/jest.polyfills.js b/client/tests/jest/jest.polyfills.js index c30bf43d223c..71e90270e9be 100644 --- a/client/tests/jest/jest.polyfills.js +++ b/client/tests/jest/jest.polyfills.js @@ -12,14 +12,12 @@ // https://mswjs.io/docs/migrations/1.x-to-2.x#frequent-issues -const { performance } = require("node:perf_hooks"); const { TextDecoder, TextEncoder, ReadableStream } = require("node:util"); const { clearImmediate } = require("node:timers"); Object.defineProperties(globalThis, { TextDecoder: { value: TextDecoder }, TextEncoder: { value: TextEncoder }, - performance: { value: performance }, ReadableStream: { value: ReadableStream }, clearImmediate: { value: clearImmediate }, });