Skip to content

Commit

Permalink
test: remove duplicated flaky test (vercel#71967)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored and stipsan committed Nov 6, 2024
1 parent 6940dcd commit 6753273
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.

This file was deleted.

20 changes: 0 additions & 20 deletions test/development/acceptance-app/undefined-default-export.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6753273

Please sign in to comment.