We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 238e6e6 commit bb64d82Copy full SHA for bb64d82
tests/integration/static.test.ts
@@ -54,7 +54,7 @@ test<FixtureTestContext>('requesting a non existing page route that needs to be
54
// test that it should request the 404.html file
55
const call1 = await invokeFunction(ctx, { url: 'static/revalidate-not-existing' })
56
expect(call1.statusCode).toBe(404)
57
- expect(load(call1.body)('h1').text()).toBe('404')
+ expect(load(call1.body)('p').text()).toBe('Custom 404 page')
58
59
// https://github.com/vercel/next.js/pull/69802 made changes to returned cache-control header,
60
// after that (14.2.10 and canary.147) 404 pages would have `private` directive, before that it
0 commit comments