Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
ae9bb601
Unverified
Commit
ae9bb601
authored
Oct 28, 2024
by
Jiachi Liu
Committed by
GitHub
Oct 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: remove duplicated flaky test (#71967)
parent
a3918569
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
page.js
...c-build-errors/app/server-with-errors/page-export/page.js
+0
-3
undefined-default-export.test.ts
...velopment/acceptance-app/undefined-default-export.test.ts
+0
-20
No files found.
test/development/acceptance-app/fixtures/rsc-build-errors/app/server-with-errors/page-export/page.js
deleted
100644 → 0
View file @
a3918569
export
default
function
Page
()
{
return
<
p
>
Page
<
/p
>
}
test/development/acceptance-app/undefined-default-export.test.ts
View file @
ae9bb601
...
@@ -61,26 +61,6 @@ describe('Undefined default export', () => {
...
@@ -61,26 +61,6 @@ describe('Undefined default export', () => {
await
cleanup
()
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
()
=>
{
it
(
'should error when page component export is not valid on initial load'
,
async
()
=>
{
const
{
session
,
cleanup
}
=
await
sandbox
(
const
{
session
,
cleanup
}
=
await
sandbox
(
next
,
next
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment