diff --git a/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts b/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts index 646e369385dd2..2f440006cdf30 100644 --- a/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts +++ b/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts @@ -501,7 +501,9 @@ describe('app dir - rsc basics', () => { // TODO: (PPR) remove once PPR is stable const bundledReactVersionPattern = - process.env.__NEXT_EXPERIMENTAL_PPR === 'true' ? '-experimental-' : '-rc-' + process.env.__NEXT_EXPERIMENTAL_PPR === 'true' + ? '-experimental-' + : '-canary-' it('should not use bundled react for pages with app', async () => { const ssrPaths = ['/pages-react', '/edge-pages-react'] diff --git a/test/production/custom-server/custom-server.test.ts b/test/production/custom-server/custom-server.test.ts index 5391c585de0e2..0d723ac42fbd8 100644 --- a/test/production/custom-server/custom-server.test.ts +++ b/test/production/custom-server/custom-server.test.ts @@ -23,9 +23,9 @@ describe('custom server', () => { }) describe('with app dir', () => { - it('should render app with react rc', async () => { + it('should render app with react canary', async () => { const $ = await next.render$(`/1`) - expect($('body').text()).toMatch(/app: .+-rc/) + expect($('body').text()).toMatch(/app: .+-canary/) }) it('should render pages with installed react', async () => {