e78eee25c5
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.
9 lines
167 B
TypeScript
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', () => {})
|
|
}
|