Skip to content

Commit 90b136e

Browse files
committed
Update turbopack-build-marker.test.ts
1 parent 90eb5a7 commit 90b136e

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { nextTestSetup } from 'e2e-utils'
2-
;(process.env.TURBOPACK ? describe : describe.skip)(
3-
'turbopack-build-marker',
4-
() => {
5-
const { next } = nextTestSetup({
6-
files: __dirname,
7-
})
2+
describe('turbopack-build-marker', () => {
3+
const { next } = nextTestSetup({
4+
files: __dirname,
5+
})
86

9-
it('should have Turbopack build marker', async () => {
10-
expect(await next.hasFile('.next/IS_TURBOPACK_BUILD')).toBe(true)
11-
})
12-
}
13-
)
7+
it('should have Turbopack build marker', async () => {
8+
expect(await next.hasFile('.next/IS_TURBOPACK_BUILD')).toBe(
9+
!!process.env.TURBOPACK
10+
)
11+
})
12+
})

0 commit comments

Comments
 (0)