diff --git a/test/development/acceptance-app/fixtures/rsc-build-errors/app/server-with-errors/page-export/page.js b/test/development/acceptance-app/fixtures/rsc-build-errors/app/server-with-errors/page-export/page.js deleted file mode 100644 index f6818ff77bd17..0000000000000 --- a/test/development/acceptance-app/fixtures/rsc-build-errors/app/server-with-errors/page-export/page.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function Page() { - return

Page

-} diff --git a/test/development/acceptance-app/undefined-default-export.test.ts b/test/development/acceptance-app/undefined-default-export.test.ts index c71dcd3d30c24..21cc4e0932a7e 100644 --- a/test/development/acceptance-app/undefined-default-export.test.ts +++ b/test/development/acceptance-app/undefined-default-export.test.ts @@ -61,26 +61,6 @@ describe('Undefined default export', () => { await cleanup() }) - it('should error when root page component export is not valid', async () => { - const { session, cleanup } = await sandbox( - next, - undefined, - '/server-with-errors/page-export' - ) - - await next.patchFile( - 'app/server-with-errors/page-export/page.js', - 'export const a = 123' - ) - - await session.assertHasRedbox() - expect(await session.getRedboxDescription()).toInclude( - 'The default export is not a React Component in "/server-with-errors/page-export/page"' - ) - - await cleanup() - }) - it('should error when page component export is not valid on initial load', async () => { const { session, cleanup } = await sandbox( next,