File size: 349 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { nextTestSetup } from 'e2e-utils'

describe('Document and App', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should not have any missing key warnings', async () => {
    await next.fetch('/')
    expect(next.cliOutput).not.toContain(
      'Each child in a list should have a unique "key" prop'
    )
  })
})