From eb9f49b07e880965ca3cb0c7e091da8eabb76fd5 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Mon, 10 Jun 2024 19:03:13 +0200 Subject: [PATCH] Run Pages Router test with same version as Next.js peer dependency (#66712) --- run-tests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run-tests.js b/run-tests.js index 32f532d4cdfdf..98dd35e5de120 100644 --- a/run-tests.js +++ b/run-tests.js @@ -405,8 +405,7 @@ ${ENDGROUP}`) // a starter Next.js install to re-use to speed up tests // to avoid having to run yarn each time console.log(`${GROUP}Creating Next.js install for isolated tests`) - const reactVersion = - process.env.NEXT_TEST_REACT_VERSION || '19.0.0-rc-f994737d14-20240522' + const reactVersion = process.env.NEXT_TEST_REACT_VERSION || '19.0.0-rc.0' const { installDir, pkgPaths, tmpRepoDir } = await createNextInstall({ parentSpan: mockTrace(), dependencies: {