Unverified Commit ae9bb601 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: remove duplicated flaky test (#71967)

parent a3918569
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment