Commit e18212f5 authored by Jude Gao's avatar Jude Gao

re-enable vary header deploy test (#79753)

Since the corresponding change has been released in Vercel CLI, we can
re-enable the test.
parent ec202ecc
...@@ -331,7 +331,6 @@ describe('app dir - basic', () => { ...@@ -331,7 +331,6 @@ describe('app dir - basic', () => {
) )
}) })
if (!isNextDeploy) {
it('should return the `vary` header from pages for flight requests', async () => { it('should return the `vary` header from pages for flight requests', async () => {
const res = await next.fetch('/', { const res = await next.fetch('/', {
headers: { headers: {
...@@ -344,7 +343,6 @@ describe('app dir - basic', () => { ...@@ -344,7 +343,6 @@ describe('app dir - basic', () => {
: 'RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch, Accept-Encoding' : 'RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch, Accept-Encoding'
) )
}) })
}
it('should pass props from getServerSideProps in root layout', async () => { it('should pass props from getServerSideProps in root layout', async () => {
const $ = await next.render$('/dashboard') const $ = await next.render$('/dashboard')
......
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