From 02255603b074df1fd33744c6eb62e65d0e0f684a Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 10 Jun 2024 17:17:16 +0200 Subject: [PATCH] Run Pages Router test with same version as Next.js peer dependency --- 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: {