mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
15 lines
406 B
TypeScript
15 lines
406 B
TypeScript
import { nextTestSetup } from 'e2e-utils'
|
|
|
|
describe('app-dir - disable-logging-route', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
})
|
|
|
|
it('should not log if disabled logging', async () => {
|
|
const html = await next.render('/slug1')
|
|
expect(html).toContain('slug1')
|
|
expect(next.cliOutput).not.toContain('Compiling')
|
|
expect(next.cliOutput).not.toContain('GET')
|
|
})
|
|
})
|