File tree 1 file changed +2
-2
lines changed
cypress/integration/default
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ describe('Dynamic Routing', () => {
49
49
cy . request ( { url : '/getStaticProps/3/' , headers : { 'x-nf-debug-logging' : '1' } , failOnStatusCode : false } ) . then (
50
50
( res ) => {
51
51
expect ( res . status ) . to . eq ( 404 )
52
- expect ( res . headers ) . to . have . property ( 'x-nf-render-mode' , 'odb ')
52
+ expect ( res . headers ) . to . not . have . property ( 'x-nf-render-mode' )
53
53
expect ( res . body ) . to . contain ( 'Custom 404' )
54
54
} ,
55
55
)
@@ -102,7 +102,7 @@ describe('Dynamic Routing', () => {
102
102
failOnStatusCode : false ,
103
103
} ) . then ( ( res ) => {
104
104
expect ( res . status ) . to . eq ( 404 )
105
- expect ( res . headers ) . to . have . property ( 'x-nf-render-mode' , 'odb ')
105
+ expect ( res . headers ) . to . not . have . property ( 'x-nf-render-mode' )
106
106
expect ( res . body ) . to . contain ( 'Custom 404' )
107
107
} )
108
108
} )
You can’t perform that action at this time.
0 commit comments