silverwolf-x/project / test /production /empty-ssg-fallback /empty-ssg-fallback.test.ts
silverwolf-x's picture
download
raw
293 Bytes
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)
})
})

Xet Storage Details

Size:
293 Bytes
·
Xet hash:
17b93feabeaac6f2ab559e7ca1e5087f8dd278eb4f0b95e619dbd82553a979fb

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.