Skip to content

Commit ae9bb60

Browse files
authored
test: remove duplicated flaky test (#71967)
1 parent a391856 commit ae9bb60

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

test/development/acceptance-app/fixtures/rsc-build-errors/app/server-with-errors/page-export/page.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

test/development/acceptance-app/undefined-default-export.test.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,26 +61,6 @@ describe('Undefined default export', () => {
6161
await cleanup()
6262
})
6363

64-
it('should error when root page component export is not valid', async () => {
65-
const { session, cleanup } = await sandbox(
66-
next,
67-
undefined,
68-
'/server-with-errors/page-export'
69-
)
70-
71-
await next.patchFile(
72-
'app/server-with-errors/page-export/page.js',
73-
'export const a = 123'
74-
)
75-
76-
await session.assertHasRedbox()
77-
expect(await session.getRedboxDescription()).toInclude(
78-
'The default export is not a React Component in "/server-with-errors/page-export/page"'
79-
)
80-
81-
await cleanup()
82-
})
83-
8464
it('should error when page component export is not valid on initial load', async () => {
8565
const { session, cleanup } = await sandbox(
8666
next,

0 commit comments

Comments
 (0)