rsnext/test/e2e/prerender/pages
JJ Kasper 434a8cb7d0
Fix missing hasHeader mock during revalidate (#45681)
Replaces usage of `hasHeader` of `getHeader` and also ensures we include
`hasHeader` in our `mockRes` we create during revalidate for good
measure.

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

Closes: https://github.com/vercel/next.js/issues/34929
Closes: https://github.com/vercel/next.js/issues/37338
Closes: https://github.com/vercel/next.js/issues/45481
2023-02-07 17:51:26 -08:00
..
another BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
api Remove unstable_revalidate (#43119) 2022-11-19 15:54:19 -08:00
api-docs Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
blocking-fallback BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
blocking-fallback-once BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
blocking-fallback-some BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
blog BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
catchall Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
catchall-explicit BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
catchall-optional BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
dynamic BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
fallback-only BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
index Add handling for testing against deployments (#36285) 2022-04-20 12:23:09 +00:00
lang/[lang] Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
non-json Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
non-json-blocking Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
user/[user] BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
bad-gssp.js Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
bad-ssr.js Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
default-revalidate.js BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
index.js BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
large-page-data.js BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
normal.js Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
preview.js Ensure On-Demand revalidate does not consider preview cookie (#39313) 2022-08-04 08:23:54 -05:00
something.js BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
ssr.js Fix missing hasHeader mock during revalidate (#45681) 2023-02-07 17:51:26 -08:00