Skip to content

Commit

Permalink
Run Pages Router test with same version as Next.js peer dependency (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Jun 10, 2024
1 parent e7694b3 commit eb9f49b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit eb9f49b

Please sign in to comment.