@@ -40,7 +40,7 @@ describe('headers', () => {
40
40
41
41
expect ( headers . set ) . toBeCalledWith (
42
42
'netlify-vary' ,
43
- 'header=x-nextjs-data,cookie=__prerender_bypass|__next_preview_data' ,
43
+ 'header=x-nextjs-data|x-next-debug-logging ,cookie=__prerender_bypass|__next_preview_data' ,
44
44
)
45
45
} )
46
46
@@ -56,7 +56,7 @@ describe('headers', () => {
56
56
57
57
expect ( headers . set ) . toBeCalledWith (
58
58
'netlify-vary' ,
59
- 'header=x-nextjs-data|Accept|Accept-Language,cookie=__prerender_bypass|__next_preview_data' ,
59
+ 'header=x-nextjs-data|x-next-debug-logging| Accept|Accept-Language,cookie=__prerender_bypass|__next_preview_data' ,
60
60
)
61
61
} )
62
62
@@ -77,7 +77,7 @@ describe('headers', () => {
77
77
78
78
expect ( headers . set ) . toBeCalledWith (
79
79
'netlify-vary' ,
80
- 'header=x-nextjs-data,cookie=__prerender_bypass|__next_preview_data' ,
80
+ 'header=x-nextjs-data|x-next-debug-logging ,cookie=__prerender_bypass|__next_preview_data' ,
81
81
)
82
82
} )
83
83
@@ -97,7 +97,7 @@ describe('headers', () => {
97
97
98
98
expect ( headers . set ) . toBeCalledWith (
99
99
'netlify-vary' ,
100
- 'header=x-nextjs-data,cookie=__prerender_bypass|__next_preview_data' ,
100
+ 'header=x-nextjs-data|x-next-debug-logging ,cookie=__prerender_bypass|__next_preview_data' ,
101
101
)
102
102
} )
103
103
@@ -117,7 +117,7 @@ describe('headers', () => {
117
117
118
118
expect ( headers . set ) . toBeCalledWith (
119
119
'netlify-vary' ,
120
- 'header=x-nextjs-data,language=en|de|fr,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE' ,
120
+ 'header=x-nextjs-data|x-next-debug-logging ,language=en|de|fr,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE' ,
121
121
)
122
122
} )
123
123
@@ -138,7 +138,7 @@ describe('headers', () => {
138
138
139
139
expect ( headers . set ) . toBeCalledWith (
140
140
'netlify-vary' ,
141
- 'header=x-nextjs-data,language=en|de|fr,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE' ,
141
+ 'header=x-nextjs-data|x-next-debug-logging ,language=en|de|fr,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE' ,
142
142
)
143
143
} )
144
144
@@ -161,7 +161,7 @@ describe('headers', () => {
161
161
162
162
expect ( headers . set ) . toBeCalledWith (
163
163
'netlify-vary' ,
164
- 'query,header=x-nextjs-data|x-custom-header,language=en|de|fr|es,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE|ab_test,country=es' ,
164
+ 'query,header=x-nextjs-data|x-next-debug-logging|x- custom-header,language=en|de|fr|es,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE|ab_test,country=es' ,
165
165
)
166
166
} )
167
167
@@ -185,7 +185,7 @@ describe('headers', () => {
185
185
186
186
expect ( headers . set ) . toBeCalledWith (
187
187
'netlify-vary' ,
188
- 'query=item_id|page|per_page,header=x-nextjs-data|x-custom-header,language=en|de|fr|es,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE|ab_test,country=es' ,
188
+ 'query=item_id|page|per_page,header=x-nextjs-data|x-next-debug-logging|x- custom-header,language=en|de|fr|es,cookie=__prerender_bypass|__next_preview_data|NEXT_LOCALE|ab_test,country=es' ,
189
189
)
190
190
} )
191
191
} )
0 commit comments