Unverified Commit 4eb05ea8 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Turbopack build: Skip test that is not relevant for Turbopack (#79376)

## What?

Turbopack doesn't fail in this case as it can process server-side assets
regardless of if they're also in the client layer. That's something we
couldn't do with webpack.
parent 3d5cf76c
......@@ -7,7 +7,9 @@ jest.setTimeout(1000 * 60 * 2)
const appDir = join(__dirname, '../')
const nextConfig = new File(join(appDir, 'next.config.js'))
describe('Invalid static image import in _document', () => {
;(process.env.IS_TURBOPACK_TEST ? describe.skip : describe)(
'Invalid static image import in _document',
() => {
;(process.env.TURBOPACK_DEV ? describe.skip : describe)(
'production mode',
() => {
......@@ -46,4 +48,5 @@ describe('Invalid static image import in _document', () => {
})
}
)
})
}
)
......@@ -15233,11 +15233,11 @@
},
"test/integration/invalid-document-image-import/test/index.test.js": {
"passed": [],
"failed": [
"failed": [],
"pending": [
"Invalid static image import in _document production mode Should fail to build when disableStaticImages in next.config.js",
"Invalid static image import in _document production mode Should fail to build when no next.config.js"
],
"pending": [],
"flakey": [],
"runtimeError": false
},
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