diff --git a/test/production/jest/index.test.ts b/test/production/jest/index.test.ts index 8fa5e61a01bc0..127f66b5674b7 100644 --- a/test/production/jest/index.test.ts +++ b/test/production/jest/index.test.ts @@ -137,10 +137,6 @@ describe('next/jest', () => { '@testing-library/jest-dom': '5.16.1', '@testing-library/react': '15.0.2', '@testing-library/user-event': '14.5.2', - // TODO: nwsapi is a transitive dependency of jest-environment-jsdom > - // jsdom. We're temporarily pinning the version here because later - // versions cause `ReferenceError: document is not defined` - nwsapi: '2.2.13', }, packageJson: { scripts: { diff --git a/test/production/jest/new-link-behavior.test.ts b/test/production/jest/new-link-behavior.test.ts index 907a68b38a01a..436bc2e9f2c6b 100644 --- a/test/production/jest/new-link-behavior.test.ts +++ b/test/production/jest/new-link-behavior.test.ts @@ -37,10 +37,6 @@ describe('next/jest newLinkBehavior', () => { jest: '29.7.0', 'jest-environment-jsdom': '29.7.0', '@testing-library/react': '15.0.2', - // TODO: nwsapi is a transitive dependency of jest-environment-jsdom > - // jsdom. We're temporarily pinning the version here because later - // versions cause `ReferenceError: document is not defined` - nwsapi: '2.2.13', }, packageJson: { scripts: { diff --git a/test/production/jest/next-image-preload/next-image-preload.test.ts b/test/production/jest/next-image-preload/next-image-preload.test.ts index 5409d367195cb..08408e18954ef 100644 --- a/test/production/jest/next-image-preload/next-image-preload.test.ts +++ b/test/production/jest/next-image-preload/next-image-preload.test.ts @@ -30,10 +30,6 @@ describe('next/jest', () => { 'jest-environment-jsdom': '29.7.0', '@testing-library/react': '15.0.2', '@testing-library/jest-dom': '5.17.0', - // TODO: nwsapi is a transitive dependency of jest-environment-jsdom > - // jsdom. We're temporarily pinning the version here because later - // versions cause `ReferenceError: document is not defined` - nwsapi: '2.2.13', }, }) }) diff --git a/test/production/jest/remove-react-properties/remove-react-properties-jest.test.ts b/test/production/jest/remove-react-properties/remove-react-properties-jest.test.ts index 1ff97a1a69690..c0ef51482428f 100644 --- a/test/production/jest/remove-react-properties/remove-react-properties-jest.test.ts +++ b/test/production/jest/remove-react-properties/remove-react-properties-jest.test.ts @@ -37,10 +37,6 @@ describe('next/jest', () => { 'jest-environment-jsdom': '29.7.0', '@testing-library/react': '15.0.2', '@testing-library/jest-dom': '5.16.4', - // TODO: nwsapi is a transitive dependency of jest-environment-jsdom > - // jsdom. We're temporarily pinning the version here because later - // versions cause `ReferenceError: document is not defined` - nwsapi: '2.2.13', }, packageJson: { scripts: {