From 9c22b51109bc62986cce115a8efa0cee06fab16e Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Fri, 26 Apr 2024 11:56:23 +0200 Subject: [PATCH 1/2] test: fix react version testing due to new release --- test/e2e/app-dir/app-external/app-external.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/app-dir/app-external/app-external.test.ts b/test/e2e/app-dir/app-external/app-external.test.ts index 333017ad4860f..d1d08661425b3 100644 --- a/test/e2e/app-dir/app-external/app-external.test.ts +++ b/test/e2e/app-dir/app-external/app-external.test.ts @@ -46,7 +46,7 @@ describe('app dir - external dependency', () => { expect(result).toContain('Server subpath: subpath.default') expect(result).toContain('Client: index.default') expect(result).toContain('Client subpath: subpath.default') - expect(result).toContain('opt-out-react-version: 18.2.0') + expect(result).toContain('opt-out-react-version: 18.3.0') }) }) From c633eb1bfa28ee7fb80b1c95e67980b90e5b3bf3 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Fri, 26 Apr 2024 15:44:31 +0200 Subject: [PATCH 2/2] Update test/e2e/app-dir/app-external/app-external.test.ts --- test/e2e/app-dir/app-external/app-external.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/app-dir/app-external/app-external.test.ts b/test/e2e/app-dir/app-external/app-external.test.ts index d1d08661425b3..733e14baf4557 100644 --- a/test/e2e/app-dir/app-external/app-external.test.ts +++ b/test/e2e/app-dir/app-external/app-external.test.ts @@ -46,7 +46,7 @@ describe('app dir - external dependency', () => { expect(result).toContain('Server subpath: subpath.default') expect(result).toContain('Client: index.default') expect(result).toContain('Client subpath: subpath.default') - expect(result).toContain('opt-out-react-version: 18.3.0') + expect(result).not.toContain('opt-out-react-version: 18.3.0-canary') }) })