File size: 349 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import { nextBuild } from 'next-test-utils'

it('should not show deopted into client rendering warning', async () => {
  const output = await nextBuild(__dirname, undefined, {
    stdout: true,
    stderr: true,
  })
  expect(output.code).toBe(0)
  expect(output.stderr).not.toContain(
    `Entire page / deopted into client-side rendering.`
  )
})