Unverified Commit 79647071 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[test] Adjust the prerender-encoding open fallback gate for non-adapter deploys (#99240)

Test passes without adapter:
https://github.com/vercel/next.js/actions/runs/36130462440/attempts/2

Forked assertions with a clear statement what the intended behavior is
would be more helpful.
Co-authored-by: 's avatarClaude Code (kimi-k3[1m]) <noreply@anthropic.com>
parent 08aab14b
......@@ -44,9 +44,10 @@ describe('prerender-encoding', () => {
)
})
// Vercel decodes the captured slash before splitting catch-all values, whereas
// next start preserves it within a single value.
// @gate !deploy
// The Vercel adapter deployment path decodes the captured slash before
// splitting catch-all values, whereas next start and plain Vercel deploys
// preserve it within a single value.
// @gate !deploy || !adapter
it('should preserve an encoded slash in an open catch-all fallback', async () => {
const pathname = '/open/docs/space%20here/with%2Fslash/fallback%25'
for (let i = 0; i < 2; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment