Skip to content

Commit 9a72ad6

Browse files
committed
unpin CNA tests from 14.2.3
this reverts the change from 564b620
1 parent 747d365 commit 9a72ad6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/integration/create-next-app/lib/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const createNextApp = (
4242
delete cloneEnv.RUN_ID
4343
delete cloneEnv.BUILD_NUMBER
4444

45-
cloneEnv.NEXT_PRIVATE_TEST_VERSION = '14.2.3'
45+
cloneEnv.NEXT_PRIVATE_TEST_VERSION = testVersion ?? 'latest'
4646

4747
return spawn('node', [cli].concat(args), {
4848
...options,

test/integration/create-next-app/prompts.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let testVersion
66
beforeAll(async () => {
77
// TODO: investigate moving this post publish or create deployed GH#57025
88
// tarballs to avoid these failing while a publish is in progress
9-
testVersion = 'canary'
9+
testVersion = 'latest'
1010
// const span = new Span({ name: 'parent' })
1111
// testVersion = (
1212
// await createNextInstall({ onlyPackages: true, parentSpan: span })

test/integration/create-next-app/templates/app.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ beforeAll(async () => {
1111
if (testVersion) return
1212
// TODO: investigate moving this post publish or create deployed GH#57025
1313
// tarballs to avoid these failing while a publish is in progress
14-
testVersion = 'canary'
14+
testVersion = 'latest'
1515
// const span = new Span({ name: 'parent' })
1616
// testVersion = (
1717
// await createNextInstall({ onlyPackages: true, parentSpan: span })

test/integration/create-next-app/templates/pages.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let testVersion
1010
beforeAll(async () => {
1111
// TODO: investigate moving this post publish or create deployed GH#57025
1212
// tarballs to avoid these failing while a publish is in progress
13-
testVersion = 'canary'
13+
testVersion = 'latest'
1414
// const span = new Span({ name: 'parent' })
1515
// testVersion = (
1616
// await createNextInstall({ onlyPackages: true, parentSpan: span })

test/integration/create-next-app/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const run = (
3030
env: {
3131
...process.env,
3232
...options.env,
33-
NEXT_PRIVATE_TEST_VERSION: '14.2.3',
33+
NEXT_PRIVATE_TEST_VERSION: 'latest',
3434
},
3535
})
3636

0 commit comments

Comments
 (0)