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
2248cfc0
Unverified
Commit
2248cfc0
authored
Sep 23, 2023
by
Jiachi Liu
Committed by
GitHub
Sep 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: re-enabled the disabled manifest test (#55810)
Re-enable the disabled test
parent
19f2fe45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
rsc-basic.test.ts
test/e2e/app-dir/rsc-basic/rsc-basic.test.ts
+6
-9
No files found.
test/e2e/app-dir/rsc-basic/rsc-basic.test.ts
View file @
2248cfc0
...
@@ -31,20 +31,17 @@ createNextDescribe(
...
@@ -31,20 +31,17 @@ createNextDescribe(
},
},
({
next
,
isNextDev
,
isNextStart
,
isTurbopack
})
=>
{
({
next
,
isNextDev
,
isNextStart
,
isTurbopack
})
=>
{
if
(
isNextDev
&&
!
isTurbopack
)
{
if
(
isNextDev
&&
!
isTurbopack
)
{
// TODO: Fix this test, it no longer uses stringified JSON.
it
(
'should have correct client references keys in manifest'
,
async
()
=>
{
it
.
skip
(
'should have correct client references keys in manifest'
,
async
()
=>
{
await
next
.
render
(
'/'
)
await
next
.
render
(
'/'
)
await
check
(
async
()
=>
{
await
check
(
async
()
=>
{
// Check that the client-side manifest is correct before any requests
// Check that the client-side manifest is correct before any requests
const
clientReferenceManifest
=
JSON
.
parse
(
const
clientReferenceManifest
=
JSON
.
parse
(
JSON
.
parse
(
(
(
await
next
.
readFile
(
await
next
.
readFile
(
'.next/server/app/page_client-reference-manifest.js'
'.next/server/app/page_client-reference-manifest.js'
)
)
).
match
(
/]=
(
.+
)
$/
)[
1
]
).
match
(
/]=
(
.+
)
$/
)[
1
]
)
)
)
const
clientModulesNames
=
Object
.
keys
(
const
clientModulesNames
=
Object
.
keys
(
clientReferenceManifest
.
clientModules
clientReferenceManifest
.
clientModules
)
)
...
...
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