Skip to content

Commit 52cf210

Browse files
committed
disable tests that depend on pages router css chunking
1 parent a15555d commit 52cf210

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

Diff for: test/integration/css/test/css-rendering.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ module.exports = {
362362
})
363363
}
364364

365-
;(process.env.TURBOPACK_DEV ? describe.skip : describe)(
365+
// This test case will fail in Turbopack when both pages share some css chunks. Deleting them will cause the / page to fail too.
366+
;(process.env.TURBOPACK ? describe.skip : describe)(
366367
'production mode',
367368
() => {
368369
beforeAll(async () => {

Diff for: test/turbopack-build-tests-manifest.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -7249,15 +7249,16 @@
72497249
"next/font import values Variable font without weight range",
72507250
"next/font import values page with font",
72517251
"next/font import values page with local fonts",
7252+
"next/font preload page with fonts",
7253+
"next/font should not have deprecation warning"
7254+
],
7255+
"failed": [
72527256
"next/font preload font without preloadable subsets",
72537257
"next/font preload font without size adjust",
72547258
"next/font preload google fonts with multiple weights/styles",
7255-
"next/font preload page with fonts",
72567259
"next/font preload page with local fonts",
7257-
"next/font preload page without fonts",
7258-
"next/font should not have deprecation warning"
7260+
"next/font preload page without fonts"
72597261
],
7260-
"failed": [],
72617262
"pending": [],
72627263
"flakey": [],
72637264
"runtimeError": false
@@ -9680,13 +9681,13 @@
96809681
"CSS Support Page hydrates with CSS and not waiting on dependencies useLightnincsss(true) production mode should hydrate black without dependencies manifest",
96819682
"CSS Support Page hydrates with CSS and not waiting on dependencies useLightnincsss(true) production mode should hydrate red without dependencies manifest",
96829683
"CSS Support Page hydrates with CSS and not waiting on dependencies useLightnincsss(true) production mode should route from black to red without dependencies",
9683-
"CSS Support Page reload on CSS missing useLightnincsss(false) production mode should fall back to server-side transition on missing CSS",
9684-
"CSS Support Page reload on CSS missing useLightnincsss(true) production mode should fall back to server-side transition on missing CSS",
96859684
"CSS Support production mode CSS Import from node_modules useLightnincsss(false) should fail the build",
96869685
"CSS Support production mode CSS Import from node_modules useLightnincsss(true) should fail the build"
96879686
],
96889687
"failed": [],
96899688
"pending": [
9689+
"CSS Support Page reload on CSS missing useLightnincsss(false) production mode should fall back to server-side transition on missing CSS",
9690+
"CSS Support Page reload on CSS missing useLightnincsss(true) production mode should fall back to server-side transition on missing CSS",
96909691
"CSS Support CSS Cleanup on Render Failure useLightnincsss(false) production mode not have intermediary page styles on error rendering",
96919692
"CSS Support CSS Cleanup on Render Failure useLightnincsss(true) production mode not have intermediary page styles on error rendering"
96929693
],

0 commit comments

Comments
 (0)