@@ -29,7 +29,7 @@ test.describe('Dynamic CMS', () => {
29
29
expect ( response2 ?. status ( ) ) . toEqual ( 200 )
30
30
expect ( headers2 [ 'cache-control' ] ) . toEqual ( 'public,max-age=0,must-revalidate' )
31
31
expect ( headers2 [ 'cache-status' ] ) . toMatch (
32
- / " N e x t .j s " ; h i t , " N e t l i f y D u r a b l e " ; f w d = s t a l e ; t t l = [ 0 - 9 ] + ; s t o r e d , " N e t l i f y E d g e " ; f w d = s t a l e / ,
32
+ / " N e x t .j s " ; h i t , " N e t l i f y D u r a b l e " ; f w d = s t a l e ; t t l = [ 0 - 9 ] + ; s t o r e d , " N e t l i f y E d g e " ; f w d = ( s t a l e | m i s s ) / ,
33
33
)
34
34
expect ( headers2 [ 'netlify-cache-tag' ] ) . toEqual ( '_n_t_/content/blog' )
35
35
expect ( headers2 [ 'netlify-cdn-cache-control' ] ) . toMatch (
@@ -48,7 +48,7 @@ test.describe('Dynamic CMS', () => {
48
48
expect ( response3 ?. status ( ) ) . toEqual ( 404 )
49
49
expect ( headers3 [ 'cache-control' ] ) . toEqual ( 'public,max-age=0,must-revalidate' )
50
50
expect ( headers3 [ 'cache-status' ] ) . toMatch (
51
- / " N e x t .j s " ; f w d = m i s s , " N e t l i f y D u r a b l e " ; f w d = s t a l e ; t t l = [ 0 - 9 ] + ; s t o r e d , " N e t l i f y E d g e " ; f w d = s t a l e / ,
51
+ / " N e x t .j s " ; f w d = m i s s , " N e t l i f y D u r a b l e " ; f w d = s t a l e ; t t l = [ 0 - 9 ] + ; s t o r e d , " N e t l i f y E d g e " ; f w d = ( s t a l e | m i s s ) / ,
52
52
)
53
53
expect ( headers3 [ 'netlify-cache-tag' ] ) . toEqual ( '_n_t_/content/blog' )
54
54
expect ( headers3 [ 'netlify-cdn-cache-control' ] ) . toMatch (
0 commit comments