Skip to content

Commit

Permalink
test: pin typescript version to 4.7 (#39978)
Browse files Browse the repository at this point in the history
Typescript published 4.8 and the ts tests are filling. Fix it by pining it to 4.7 temproraily 

x-ref: https://github.com/vercel/next.js/runs/8037717851?check_suite_focus=true#step:9:211
  • Loading branch information
huozhi committed Aug 26, 2022
1 parent b02b2f7 commit 7397be7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/development/correct-tsconfig-defaults/index.test.ts
Expand Up @@ -14,7 +14,7 @@ describe('correct tsconfig.json defaults', () => {
},
skipStart: true,
dependencies: {
typescript: 'latest',
typescript: '4.7.4',
'@types/react': 'latest',
'@types/node': 'latest',
},
Expand Down
2 changes: 1 addition & 1 deletion test/development/jsconfig-path-reloading/index.test.ts
Expand Up @@ -35,7 +35,7 @@ describe('jsconfig-path-reloading', () => {
}),
},
dependencies: {
typescript: 'latest',
typescript: '4.7.4',
'@types/react': 'latest',
'@types/node': 'latest',
},
Expand Down
2 changes: 1 addition & 1 deletion test/development/tsconfig-path-reloading/index.test.ts
Expand Up @@ -35,7 +35,7 @@ describe('tsconfig-path-reloading', () => {
}),
},
dependencies: {
typescript: 'latest',
typescript: '4.7.4',
'@types/react': 'latest',
'@types/node': 'latest',
},
Expand Down
2 changes: 1 addition & 1 deletion test/production/middleware-typescript/test/index.test.ts
Expand Up @@ -19,7 +19,7 @@ describe('should set-up next', () => {
'next.config.js': new FileRef(join(appDir, 'next.config.js')),
},
dependencies: {
typescript: 'latest',
typescript: '4.7.4',
'@types/node': 'latest',
'@types/react': 'latest',
'@types/react-dom': 'latest',
Expand Down
2 changes: 1 addition & 1 deletion test/production/typescript-basic/index.test.ts
Expand Up @@ -11,7 +11,7 @@ describe('TypeScript basic', () => {
files: new FileRef(path.join(__dirname, 'app')),
dependencies: {
'@next/bundle-analyzer': 'canary',
typescript: 'latest',
typescript: '4.7.4',
'@types/node': 'latest',
'@types/react': 'latest',
'@types/react-dom': 'latest',
Expand Down

0 comments on commit 7397be7

Please sign in to comment.