Skip to content

Commit

Permalink
test: re-enabled the disabled manifest test (#55810)
Browse files Browse the repository at this point in the history
Re-enable the disabled test
  • Loading branch information
huozhi authored Sep 23, 2023
1 parent 19f2fe4 commit 2248cfc
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions test/e2e/app-dir/rsc-basic/rsc-basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,16 @@ createNextDescribe(
},
({ next, isNextDev, isNextStart, isTurbopack }) => {
if (isNextDev && !isTurbopack) {
// TODO: Fix this test, it no longer uses stringified JSON.
it.skip('should have correct client references keys in manifest', async () => {
it('should have correct client references keys in manifest', async () => {
await next.render('/')
await check(async () => {
// Check that the client-side manifest is correct before any requests
const clientReferenceManifest = JSON.parse(
JSON.parse(
(
await next.readFile(
'.next/server/app/page_client-reference-manifest.js'
)
).match(/]=(.+)$/)[1]
)
(
await next.readFile(
'.next/server/app/page_client-reference-manifest.js'
)
).match(/]=(.+)$/)[1]
)
const clientModulesNames = Object.keys(
clientReferenceManifest.clientModules
Expand Down

0 comments on commit 2248cfc

Please sign in to comment.