Unverified Commit ffb68e95 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

disable test case for Turbopack (#50530)

### What?

This test case was never passing and accidentally enabled for Turbopack.

We could disable the whole test suite, but since only one test case is
affected we can also disable only that one.
parent f85b45fb
......@@ -23,8 +23,8 @@ createNextDescribe(
'server-only': 'latest',
},
},
({ next, isNextDev, isNextStart }) => {
if (isNextDev) {
({ next, isNextDev, isNextStart, isTurbopack }) => {
if (isNextDev && !isTurbopack) {
it('should have correct client references keys in manifest', async () => {
await next.render('/')
await check(async () => {
......
......@@ -212,6 +212,7 @@ export function createNextDescribe(
isNextDev: boolean
isNextDeploy: boolean
isNextStart: boolean
isTurbopack: boolean
next: NextInstance
}) => void
): void {
......@@ -243,6 +244,13 @@ export function createNextDescribe(
get isNextDev(): boolean {
return Boolean((global as any).isNextDev)
},
get isTurbopack(): boolean {
return Boolean(
(global as any).isNextDev &&
!process.env.TEST_WASM &&
(options.turbo ?? shouldRunTurboDevTest())
)
},
get isNextDeploy(): boolean {
return Boolean((global as any).isNextDeploy)
......
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