diff --git a/test/development/acceptance-app/ReactRefresh.test.ts b/test/development/acceptance-app/ReactRefresh.test.ts index 773eca66df0fb..311065d1beb8f 100644 --- a/test/development/acceptance-app/ReactRefresh.test.ts +++ b/test/development/acceptance-app/ReactRefresh.test.ts @@ -7,10 +7,6 @@ import { outdent } from 'outdent' describe('ReactRefresh app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts index d2f8741ff714d..df5e10175e180 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts @@ -8,10 +8,6 @@ import { outdent } from 'outdent' describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts index eed44e2e4eff0..91a6bad61ce60 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts @@ -11,8 +11,6 @@ describe.skip('ReactRefreshLogBox scss app', () => { files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { sass: 'latest', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index ef600a431d5a6..591e0ef1277b9 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -14,10 +14,7 @@ const IS_TURBOPACK = Boolean(process.env.TURBOPACK) describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, + skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts index 9cac3417851fb..c4c9e5ce87d96 100644 --- a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts @@ -8,10 +8,6 @@ import { outdent } from 'outdent' describe.skip('ReactRefreshLogBox app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshModule.test.ts b/test/development/acceptance-app/ReactRefreshModule.test.ts index 9edc9eb5276ca..6d7994814ea38 100644 --- a/test/development/acceptance-app/ReactRefreshModule.test.ts +++ b/test/development/acceptance-app/ReactRefreshModule.test.ts @@ -6,10 +6,6 @@ import { outdent } from 'outdent' describe('ReactRefreshModule app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshRegression.test.ts b/test/development/acceptance-app/ReactRefreshRegression.test.ts index f7f1bd0c6a372..1014c1f8b0453 100644 --- a/test/development/acceptance-app/ReactRefreshRegression.test.ts +++ b/test/development/acceptance-app/ReactRefreshRegression.test.ts @@ -12,8 +12,6 @@ describe('ReactRefreshRegression app', () => { 'styled-components': '5.1.0', '@next/mdx': 'canary', '@mdx-js/loader': '0.18.0', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshRequire.test.ts b/test/development/acceptance-app/ReactRefreshRequire.test.ts index 2cd4a4a963daa..7ab95c94d0215 100644 --- a/test/development/acceptance-app/ReactRefreshRequire.test.ts +++ b/test/development/acceptance-app/ReactRefreshRequire.test.ts @@ -7,10 +7,6 @@ import { outdent } from 'outdent' describe('ReactRefreshRequire app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/editor-links.test.ts b/test/development/acceptance-app/editor-links.test.ts index 8dbf90646029e..7fc71e8a2ebaa 100644 --- a/test/development/acceptance-app/editor-links.test.ts +++ b/test/development/acceptance-app/editor-links.test.ts @@ -28,10 +28,6 @@ async function clickImportTraceFiles(browser: any) { describe('Error overlay - editor links', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/error-message-url.test.ts b/test/development/acceptance-app/error-message-url.test.ts index 321a9fe7f0de2..dcc8e0cddbfec 100644 --- a/test/development/acceptance-app/error-message-url.test.ts +++ b/test/development/acceptance-app/error-message-url.test.ts @@ -6,10 +6,6 @@ import { outdent } from 'outdent' describe('Error overlay - error message urls', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/error-recovery.test.ts b/test/development/acceptance-app/error-recovery.test.ts index a2c84448fefa0..3dd54b90e9646 100644 --- a/test/development/acceptance-app/error-recovery.test.ts +++ b/test/development/acceptance-app/error-recovery.test.ts @@ -8,10 +8,6 @@ import { outdent } from 'outdent' describe.each(['default', 'turbo'])('Error recovery app %s', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/hydration-error.test.ts b/test/development/acceptance-app/hydration-error.test.ts index 1602329ad03e3..a04c38ed5e0e6 100644 --- a/test/development/acceptance-app/hydration-error.test.ts +++ b/test/development/acceptance-app/hydration-error.test.ts @@ -10,10 +10,6 @@ import { getRedboxTotalErrorCount } from 'next-test-utils' describe('Error overlay for hydration errors', () => { const { next, isTurbopack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/invalid-imports.test.ts b/test/development/acceptance-app/invalid-imports.test.ts index 3ca234cecdba2..656ed0684b313 100644 --- a/test/development/acceptance-app/invalid-imports.test.ts +++ b/test/development/acceptance-app/invalid-imports.test.ts @@ -8,8 +8,6 @@ describe('Error Overlay invalid imports', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', 'client-only': 'latest', }, diff --git a/test/development/acceptance-app/rsc-build-errors.test.ts b/test/development/acceptance-app/rsc-build-errors.test.ts index e0ad020cea5af..239328c6b984c 100644 --- a/test/development/acceptance-app/rsc-build-errors.test.ts +++ b/test/development/acceptance-app/rsc-build-errors.test.ts @@ -7,10 +7,6 @@ import { outdent } from 'outdent' describe('Error overlay - RSC build errors', () => { const { next, isTurbopack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'rsc-build-errors')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance-app/server-components.test.ts b/test/development/acceptance-app/server-components.test.ts index 48838bcccf125..88d1a1fdea40e 100644 --- a/test/development/acceptance-app/server-components.test.ts +++ b/test/development/acceptance-app/server-components.test.ts @@ -8,10 +8,6 @@ import { outdent } from 'outdent' describe('Error Overlay for server components', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance/hydration-error.test.ts b/test/development/acceptance/hydration-error.test.ts index a7c929434b492..1541390c22de4 100644 --- a/test/development/acceptance/hydration-error.test.ts +++ b/test/development/acceptance/hydration-error.test.ts @@ -7,10 +7,6 @@ import path from 'path' describe('Error overlay for hydration errors', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts b/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts index cbeba8077d6d2..af432f3ed78f3 100644 --- a/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts +++ b/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts @@ -27,10 +27,6 @@ const initialFiles = new Map([ describe('Error Overlay for server components compiler errors in pages', () => { const { next } = nextTestSetup({ files: {}, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, skipStart: true, }) diff --git a/test/development/next-font/deprecated-package.test.ts b/test/development/next-font/deprecated-package.test.ts index a4bb5884ab82b..87564eb5e3079 100644 --- a/test/development/next-font/deprecated-package.test.ts +++ b/test/development/next-font/deprecated-package.test.ts @@ -8,8 +8,6 @@ describe('Deprecated @next/font warning', () => { 'pages/index.js': '', }, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', '@next/font': 'canary', }, skipStart: true, diff --git a/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts b/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts index 565ef54b6c114..7a055bb2fc5a9 100644 --- a/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts +++ b/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts @@ -7,8 +7,6 @@ describe('app-dir action allowed origins', () => { files: join(__dirname, 'safe-origins'), skipDeployment: true, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', }, // An arbitrary & random port. diff --git a/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts b/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts index 8fb5edcfba111..5eb809b0063d6 100644 --- a/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts +++ b/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts @@ -7,8 +7,6 @@ describe('app-dir action disallowed origins', () => { files: join(__dirname, 'unsafe-origins'), skipDeployment: true, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', }, }) diff --git a/test/e2e/app-dir/actions/app-action-export.test.ts b/test/e2e/app-dir/actions/app-action-export.test.ts index 794d37a833c31..2a3b462093869 100644 --- a/test/e2e/app-dir/actions/app-action-export.test.ts +++ b/test/e2e/app-dir/actions/app-action-export.test.ts @@ -6,8 +6,6 @@ describe('app-dir action handling - next export', () => { skipStart: true, skipDeployment: true, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', }, }) diff --git a/test/e2e/app-dir/actions/app-action-form-state.test.ts b/test/e2e/app-dir/actions/app-action-form-state.test.ts index e16781e4c1c2f..898d708c2d2b3 100644 --- a/test/e2e/app-dir/actions/app-action-form-state.test.ts +++ b/test/e2e/app-dir/actions/app-action-form-state.test.ts @@ -5,10 +5,6 @@ import { check } from 'next-test-utils' describe('app-dir action useActionState', () => { const { next } = nextTestSetup({ files: __dirname, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) it('should support submitting form state with JS', async () => { const browser = await next.browser('/client/form-state') diff --git a/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts b/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts index 2150c89de83b7..363080040fed6 100644 --- a/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts +++ b/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts @@ -7,9 +7,7 @@ describe('app-dir action progressive enhancement', () => { const { next } = nextTestSetup({ files: __dirname, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', nanoid: 'latest', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', }, }) diff --git a/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts b/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts index d940869da07f4..7111ea74a7cbe 100644 --- a/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts +++ b/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts @@ -11,8 +11,6 @@ describe('app-dir action size limit invalid config', () => { skipDeployment: true, skipStart: true, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', }, }) diff --git a/test/e2e/app-dir/actions/app-action.test.ts b/test/e2e/app-dir/actions/app-action.test.ts index 77df71503dca7..5826b15abf1f9 100644 --- a/test/e2e/app-dir/actions/app-action.test.ts +++ b/test/e2e/app-dir/actions/app-action.test.ts @@ -19,9 +19,7 @@ describe('app-dir action handling', () => { nextTestSetup({ files: __dirname, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', nanoid: 'latest', - 'react-dom': '19.0.0-rc-f994737d14-20240522', 'server-only': 'latest', }, }) diff --git a/test/e2e/app-dir/app-css-pageextensions/index.test.ts b/test/e2e/app-dir/app-css-pageextensions/index.test.ts index 34e4e5abfdb1c..50e3a9ca3f378 100644 --- a/test/e2e/app-dir/app-css-pageextensions/index.test.ts +++ b/test/e2e/app-dir/app-css-pageextensions/index.test.ts @@ -6,8 +6,6 @@ describe('app dir - css with pageextensions', () => { skipDeployment: true, dependencies: { '@picocss/pico': '1.5.7', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', sass: 'latest', }, }) diff --git a/test/e2e/app-dir/app-css/index.test.ts b/test/e2e/app-dir/app-css/index.test.ts index 1ff6c84f92d57..74b9005dbe4e2 100644 --- a/test/e2e/app-dir/app-css/index.test.ts +++ b/test/e2e/app-dir/app-css/index.test.ts @@ -7,8 +7,6 @@ describe('app dir - css', () => { skipDeployment: true, dependencies: { '@picocss/pico': '1.5.7', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', sass: 'latest', '@next/mdx': 'canary', }, diff --git a/test/e2e/app-dir/app-routes-client-component/app-routes-client-component.test.ts b/test/e2e/app-dir/app-routes-client-component/app-routes-client-component.test.ts index 94c1c8f1c7707..a98b19ff6eb37 100644 --- a/test/e2e/app-dir/app-routes-client-component/app-routes-client-component.test.ts +++ b/test/e2e/app-dir/app-routes-client-component/app-routes-client-component.test.ts @@ -4,10 +4,6 @@ import path from 'path' describe('referencing a client component in an app route', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname)), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) it('responds without error', async () => { diff --git a/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts b/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts index c3d9d742299aa..e07a14f8864f3 100644 --- a/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts +++ b/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts @@ -73,10 +73,6 @@ import stripAnsi from 'strip-ansi' path.join(__dirname, 'next.config.js') ), }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -127,10 +123,6 @@ import stripAnsi from 'strip-ansi' path.join(__dirname, 'next.config.js') ), }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -236,10 +228,6 @@ import stripAnsi from 'strip-ansi' path.join(__dirname, 'next.config.js') ), }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) await expect(next.start()).rejects.toThrow('next build failed') diff --git a/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts b/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts index e321a3b6860a1..08f4638a6c519 100644 --- a/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts +++ b/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts @@ -9,8 +9,6 @@ describe('navigation between pages and app dir', () => { next = await createNext({ files: new FileRef(__dirname), dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', typescript: 'latest', '@types/react': 'latest', '@types/node': 'latest', diff --git a/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts b/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts index fa1c3de7ef86d..4e44901dbfe77 100644 --- a/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts +++ b/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts @@ -4,8 +4,6 @@ describe('redirects and rewrites', () => { const { next } = nextTestSetup({ files: __dirname, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', typescript: 'latest', '@types/react': 'latest', '@types/node': 'latest', diff --git a/test/e2e/new-link-behavior/child-a-tag-error.test.ts b/test/e2e/new-link-behavior/child-a-tag-error.test.ts index 0acc60a5f1556..a508089c99c0b 100644 --- a/test/e2e/new-link-behavior/child-a-tag-error.test.ts +++ b/test/e2e/new-link-behavior/child-a-tag-error.test.ts @@ -17,8 +17,6 @@ describe('New Link Behavior with child', () => { }, dependencies: { next: 'latest', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', }, }) }) diff --git a/test/e2e/new-link-behavior/material-ui.test.ts b/test/e2e/new-link-behavior/material-ui.test.ts index cf49a29a0b3bf..d3fa1bcb61ceb 100644 --- a/test/e2e/new-link-behavior/material-ui.test.ts +++ b/test/e2e/new-link-behavior/material-ui.test.ts @@ -24,8 +24,6 @@ describe('New Link Behavior with material-ui', () => { '@mui/material': 'latest', next: 'latest', 'prop-types': 'latest', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', // Use minimum peer dep version instead of v9 of eslint to avoid breaking changes eslint: '8.56.0', 'eslint-config-next': 'latest', diff --git a/test/e2e/new-link-behavior/stitches.test.ts b/test/e2e/new-link-behavior/stitches.test.ts index 8317c773e7864..afad753d4835f 100644 --- a/test/e2e/new-link-behavior/stitches.test.ts +++ b/test/e2e/new-link-behavior/stitches.test.ts @@ -21,8 +21,6 @@ describe('New Link Behavior with stitches', () => { dependencies: { '@stitches/react': '^1.2.6', next: 'latest', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', }, }) }) diff --git a/test/e2e/next-font/with-proxy.test.ts b/test/e2e/next-font/with-proxy.test.ts index a4aae976d700e..aa4a9f1996c6e 100644 --- a/test/e2e/next-font/with-proxy.test.ts +++ b/test/e2e/next-font/with-proxy.test.ts @@ -29,10 +29,6 @@ describe('next/font/google with proxy', () => { next = await createNext({ files: new FileRef(join(__dirname, 'with-proxy')), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, env: { http_proxy: 'http://localhost:' + PROXY_PORT, }, diff --git a/test/e2e/next-script/index.test.ts b/test/e2e/next-script/index.test.ts index 78e77b8e80a74..fbc473b1d7002 100644 --- a/test/e2e/next-script/index.test.ts +++ b/test/e2e/next-script/index.test.ts @@ -40,10 +40,6 @@ describe('beforeInteractive in document Head', () => { } `, }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -100,10 +96,6 @@ describe('beforeInteractive in document body', () => { } `, }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -161,10 +153,6 @@ describe('empty strategy in document Head', () => { } `, }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -220,10 +208,6 @@ describe('empty strategy in document body', () => { } `, }, - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -267,11 +251,6 @@ describe('empty strategy in document body', () => { } `, }, - // TODO: @housseindjirdeh: verify React 18 functionality - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) }) afterAll(() => next.destroy()) @@ -320,8 +299,6 @@ describe('empty strategy in document body', () => { `, }, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', '@builder.io/partytown': '0.4.2', }, }) @@ -409,8 +386,6 @@ describe('empty strategy in document body', () => { `, }, dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', '@builder.io/partytown': '0.4.2', }, }) @@ -525,8 +500,6 @@ describe('empty strategy in document body', () => { }, dependencies: { '@builder.io/partytown': '0.4.2', - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', }, }) }) diff --git a/test/e2e/switchable-runtime/index.test.ts b/test/e2e/switchable-runtime/index.test.ts index e2533c236cc34..19335af292d78 100644 --- a/test/e2e/switchable-runtime/index.test.ts +++ b/test/e2e/switchable-runtime/index.test.ts @@ -43,10 +43,6 @@ describe('Switchable runtime', () => { beforeAll(async () => { next = await createNext({ files: new FileRef(__dirname), - dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', - }, }) context = { appPort: next.url, diff --git a/test/e2e/transpile-packages/index.test.ts b/test/e2e/transpile-packages/index.test.ts index cfdccaf5702d2..b395c6edda7a8 100644 --- a/test/e2e/transpile-packages/index.test.ts +++ b/test/e2e/transpile-packages/index.test.ts @@ -16,8 +16,6 @@ describe('transpile packages', () => { next = await createNext({ files: new FileRef(path.join(__dirname, './npm')), dependencies: { - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', sass: 'latest', }, packageJson: { diff --git a/test/e2e/yarn-pnp/test/utils.ts b/test/e2e/yarn-pnp/test/utils.ts index 8f460cd933cae..bfa70598f749d 100644 --- a/test/e2e/yarn-pnp/test/utils.ts +++ b/test/e2e/yarn-pnp/test/utils.ts @@ -43,8 +43,6 @@ export function runTests( dependencies: { ...packageJson.dependencies, ...packageJson.devDependencies, - react: '19.0.0-rc-f994737d14-20240522', - 'react-dom': '19.0.0-rc-f994737d14-20240522', }, installCommand: ({ dependencies }) => { const pkgs = Object.keys(dependencies).reduce((prev, cur) => {