Skip to content

Commit

Permalink
Revert "Pin version of nwsapi (revert later)" (#73353)
Browse files Browse the repository at this point in the history
Reverts #73351

~Depends on dperini/nwsapi#134 fixed in 2.2.16
  • Loading branch information
unstubbable authored Nov 29, 2024
1 parent 918a534 commit d84ad21
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions test/production/jest/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
4 changes: 0 additions & 4 deletions test/production/jest/new-link-behavior.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit d84ad21

Please sign in to comment.