mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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.
10 lines
167 B
TypeScript
10 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', () => {})
|
|
}
|