We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90eb5a7 commit 90b136eCopy full SHA for 90b136e
test/production/app-dir/turbopack-build-marker/turbopack-build-marker.test.ts
@@ -1,13 +1,12 @@
1
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
- })
+describe('turbopack-build-marker', () => {
+ const { next } = nextTestSetup({
+ files: __dirname,
+ })
8
9
- it('should have Turbopack build marker', async () => {
10
- expect(await next.hasFile('.next/IS_TURBOPACK_BUILD')).toBe(true)
11
12
- }
13
-)
+ it('should have Turbopack build marker', async () => {
+ expect(await next.hasFile('.next/IS_TURBOPACK_BUILD')).toBe(
+ !!process.env.TURBOPACK
+ )
+})
0 commit comments