Commit 7a211f2d authored by Luke Sandberg's avatar Luke Sandberg

Skip CSS order shared chunks test for webpack

The test verifies Turbopack's CSS chunk ordering fix. Webpack has its own
CSS ordering behavior and this interleaved-shared-chunks scenario is not
yet fixed there, causing CI failures in webpack test modes.
Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
parent 8a06a8c4
import { nextTestSetup } from 'e2e-utils' import { nextTestSetup } from 'e2e-utils'
import { retry } from 'next-test-utils' import { retry } from 'next-test-utils'
describe('css-order-shared-chunks', () => { // This test verifies Turbopack's CSS chunk ordering fix. Webpack has its own
// CSS ordering behavior and this specific interleaved-shared-chunks scenario
// is not yet fixed there.
;(process.env.IS_TURBOPACK_TEST ? describe : describe.skip)(
'css-order-shared-chunks',
() => {
const { next } = nextTestSetup({ const { next } = nextTestSetup({
files: __dirname, files: __dirname,
}) })
...@@ -75,4 +80,5 @@ describe('css-order-shared-chunks', () => { ...@@ -75,4 +80,5 @@ describe('css-order-shared-chunks', () => {
).toBe('rgb(0, 128, 0)') ).toBe('rgb(0, 128, 0)')
}) })
}) })
}) }
)
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