mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
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)
|
|
})
|
|
})
|