From 9a72ad6e618ba81601ff15359f29f72cce45b878 Mon Sep 17 00:00:00 2001 From: Janka Uryga Date: Fri, 6 Sep 2024 14:23:00 +0200 Subject: [PATCH] unpin CNA tests from 14.2.3 this reverts the change from 564b620ddc4d1e9870cf21b0715d4817b96a3085 --- test/integration/create-next-app/lib/utils.ts | 2 +- test/integration/create-next-app/prompts.test.ts | 2 +- test/integration/create-next-app/templates/app.test.ts | 2 +- test/integration/create-next-app/templates/pages.test.ts | 2 +- test/integration/create-next-app/utils.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/integration/create-next-app/lib/utils.ts b/test/integration/create-next-app/lib/utils.ts index 2527ac1c653ce..e5fead9067801 100644 --- a/test/integration/create-next-app/lib/utils.ts +++ b/test/integration/create-next-app/lib/utils.ts @@ -42,7 +42,7 @@ export const createNextApp = ( delete cloneEnv.RUN_ID delete cloneEnv.BUILD_NUMBER - cloneEnv.NEXT_PRIVATE_TEST_VERSION = '14.2.3' + cloneEnv.NEXT_PRIVATE_TEST_VERSION = testVersion ?? 'latest' return spawn('node', [cli].concat(args), { ...options, diff --git a/test/integration/create-next-app/prompts.test.ts b/test/integration/create-next-app/prompts.test.ts index fe99ae9e6f0ea..7d85e914ced6d 100644 --- a/test/integration/create-next-app/prompts.test.ts +++ b/test/integration/create-next-app/prompts.test.ts @@ -6,7 +6,7 @@ let testVersion beforeAll(async () => { // TODO: investigate moving this post publish or create deployed GH#57025 // tarballs to avoid these failing while a publish is in progress - testVersion = 'canary' + testVersion = 'latest' // const span = new Span({ name: 'parent' }) // testVersion = ( // await createNextInstall({ onlyPackages: true, parentSpan: span }) diff --git a/test/integration/create-next-app/templates/app.test.ts b/test/integration/create-next-app/templates/app.test.ts index bbf26cd4fead4..bac32a90cc040 100644 --- a/test/integration/create-next-app/templates/app.test.ts +++ b/test/integration/create-next-app/templates/app.test.ts @@ -11,7 +11,7 @@ beforeAll(async () => { if (testVersion) return // TODO: investigate moving this post publish or create deployed GH#57025 // tarballs to avoid these failing while a publish is in progress - testVersion = 'canary' + testVersion = 'latest' // const span = new Span({ name: 'parent' }) // testVersion = ( // await createNextInstall({ onlyPackages: true, parentSpan: span }) diff --git a/test/integration/create-next-app/templates/pages.test.ts b/test/integration/create-next-app/templates/pages.test.ts index 7888172f8bb86..7e68f7a3626fa 100644 --- a/test/integration/create-next-app/templates/pages.test.ts +++ b/test/integration/create-next-app/templates/pages.test.ts @@ -10,7 +10,7 @@ let testVersion beforeAll(async () => { // TODO: investigate moving this post publish or create deployed GH#57025 // tarballs to avoid these failing while a publish is in progress - testVersion = 'canary' + testVersion = 'latest' // const span = new Span({ name: 'parent' }) // testVersion = ( // await createNextInstall({ onlyPackages: true, parentSpan: span }) diff --git a/test/integration/create-next-app/utils.ts b/test/integration/create-next-app/utils.ts index dbc7aec76bcf5..444c994357b46 100644 --- a/test/integration/create-next-app/utils.ts +++ b/test/integration/create-next-app/utils.ts @@ -30,7 +30,7 @@ export const run = ( env: { ...process.env, ...options.env, - NEXT_PRIVATE_TEST_VERSION: '14.2.3', + NEXT_PRIVATE_TEST_VERSION: 'latest', }, })