diff --git a/packages/app/src/setupTests.ts b/packages/app/src/setupTests.ts index d6dc983b17..23fcbe9676 100644 --- a/packages/app/src/setupTests.ts +++ b/packages/app/src/setupTests.ts @@ -19,9 +19,3 @@ // expect(element).toHaveTextContent(/react/i) // learn more: https://github.com/testing-library/jest-dom import '@testing-library/jest-dom'; - -// Do not remove, patching jsdom environment to support TextEncoder, refer to https://github.com/jsdom/jsdom/issues/2524 -// eslint-disable-next-line no-restricted-imports -import { TextEncoder } from 'util'; - -global.TextEncoder = TextEncoder;