Unverified Commit 2248cfc0 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: re-enabled the disabled manifest test (#55810)

Re-enable the disabled test 
parent 19f2fe45
......@@ -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
......
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