Revert "Revert "Skip webpack loader test in Turbopack"" (#60514)
Reverts vercel/next.js#60513 Closes NEXT-2056
This commit is contained in:
parent
3a7bd19fe5
commit
7c1d50a1bc
2 changed files with 89 additions and 77 deletions
|
@ -335,6 +335,10 @@ describe('ReactRefreshRegression app', () => {
|
|||
})
|
||||
|
||||
// https://github.com/vercel/next.js/issues/13574
|
||||
// Test is skipped with Turbopack as the package uses webpack loaders
|
||||
;(process.env.TURBOPACK ? describe.skip : describe)(
|
||||
'Turbopack skipped tests',
|
||||
() => {
|
||||
test('custom loader mdx should have Fast Refresh enabled', async () => {
|
||||
const files = new Map()
|
||||
files.set(
|
||||
|
@ -387,4 +391,6 @@ describe('ReactRefreshRegression app', () => {
|
|||
|
||||
await cleanup()
|
||||
})
|
||||
}
|
||||
)
|
||||
})
|
||||
|
|
|
@ -295,6 +295,10 @@ describe('ReactRefreshRegression', () => {
|
|||
})
|
||||
|
||||
// https://github.com/vercel/next.js/issues/13574
|
||||
// Test is skipped with Turbopack as the package uses webpack loaders
|
||||
;(process.env.TURBOPACK ? describe.skip : describe)(
|
||||
'Turbopack skipped tests',
|
||||
() => {
|
||||
test('custom loader (mdx) should have Fast Refresh enabled', async () => {
|
||||
const { session, cleanup } = await sandbox(
|
||||
next,
|
||||
|
@ -340,4 +344,6 @@ describe('ReactRefreshRegression', () => {
|
|||
|
||||
await cleanup()
|
||||
})
|
||||
}
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue