Skip to content

Commit 46cb0d2

Browse files
authored
Turbopack build: Add test skip that is also skipped for dev (#79241)
## What? This test was already skipped for dev, seems I missed skipping it for build, added that here.
1 parent 73a3bc5 commit 46cb0d2

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

test/integration/app-document-import-order/test/index.test.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,15 @@ describe('Root components import order', () => {
6161
})
6262
afterAll(() => killApp(app))
6363

64-
it(
65-
'_app chunks should be attached to de dom before page chunks',
66-
respectsChunkAttachmentOrder
64+
// Test relies on webpack splitChunks overrides.
65+
;(process.env.IS_TURBOPACK_TEST ? describe.skip : describe)(
66+
'Skipped in Turbopack',
67+
() => {
68+
it(
69+
'_app chunks should be attached to de dom before page chunks',
70+
respectsChunkAttachmentOrder
71+
)
72+
}
6773
)
6874
it(
6975
'root components should be imported in this order _document > _app > page in order to respect side effects',

test/turbopack-build-tests-manifest.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -9393,12 +9393,11 @@
93939393
"passed": [
93949394
"Root components import order production mode root components should be imported in this order _document > _app > page in order to respect side effects"
93959395
],
9396-
"failed": [
9397-
"Root components import order production mode _app chunks should be attached to de dom before page chunks"
9398-
],
9396+
"failed": [],
93999397
"pending": [
94009398
"development mode Skipped in Turbopack _app chunks should be attached to de dom before page chunks",
9401-
"development mode root components should be imported in this order _document > _app > page in order to respect side effects"
9399+
"development mode root components should be imported in this order _document > _app > page in order to respect side effects",
9400+
"Root components import order production mode Skipped in Turbopack _app chunks should be attached to de dom before page chunks"
94029401
],
94039402
"flakey": [],
94049403
"runtimeError": false

0 commit comments

Comments
 (0)