mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
These tests won't ever be run in a deployed environment, so this removes `skipDeployment` so it's easier to grok which tests are intentionally disabled because they don't work when deployed.
18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
import { nextTestSetup } from 'e2e-utils'
|
|
|
|
describe('bad-file-structure', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
skipStart: true,
|
|
})
|
|
|
|
it('should error for bad file structure', async () => {
|
|
await next.build()
|
|
|
|
const output = next.cliOutput
|
|
expect(output).toContain(
|
|
'`pages` and `app` directories should be under the same folder'
|
|
)
|
|
})
|
|
})
|