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

describe('empty-ssg-fallback', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should not cache 404 error page', async () => {
    const res = await next.fetch('/any-non-existed')
    expect(res.status).toBe(404)
  })
})