rsnext/test/e2e/app-dir/app/experimental-compile.test.ts
JJ Kasper e78eee25c5
Add additional handling for experimental-compile (#56224)
This ensures we properly set the `isReady` flag when building with `experimental-compile` and enables our main app dir test suite to ensure we don't regress on it.
2023-09-29 22:11:45 +00:00

9 lines
167 B
TypeScript

import 'e2e-utils'
process.env.NEXT_EXPERIMENTAL_COMPILE = '1'
if ((global as any).isNextStart) {
require('./index.test')
} else {
it('should skip', () => {})
}