mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Reverts vercel/next.js#80215 which was a revert of vercel/next.js#79351 Closes PACK-4105
17 lines
501 B
TypeScript
17 lines
501 B
TypeScript
import { FileRef, nextTestSetup } from 'e2e-utils'
|
|
import path from 'node:path'
|
|
|
|
describe('internal traces', () => {
|
|
const { next } = nextTestSetup({
|
|
files: new FileRef(path.join(__dirname)),
|
|
})
|
|
|
|
it('should not write long internal traces to stdio', async () => {
|
|
await next.render$('/traces')
|
|
expect(next.cliOutput.length).toBeLessThan(256 * 1024 /* 256KiB of ascii */)
|
|
expect(next.cliOutput).not.toContain(
|
|
'https://nextjs.org/docs/messages/large-page-data'
|
|
)
|
|
})
|
|
})
|