@@ -14,7 +14,7 @@ test.describe('Dynamic CMS', () => {
1414 )
1515 expect ( headers1 [ 'netlify-cache-tag' ] ) . toEqual ( '_n_t_/content/blog' )
1616 expect ( headers1 [ 'netlify-cdn-cache-control' ] ) . toMatch (
17- / s - m a x a g e = 3 1 5 3 6 0 0 0 , ( s t a l e - w h i l e - r e v a l i d a t e = 3 1 5 3 6 0 0 0 , ) ? d u r a b l e /
17+ / s - m a x a g e = 3 1 5 3 6 0 0 0 , ( s t a l e - w h i l e - r e v a l i d a t e = 3 1 5 3 6 0 0 0 , ) ? d u r a b l e / ,
1818 )
1919
2020 // 2. Publish the blob, revalidate the dynamic page, and wait to regenerate
@@ -33,7 +33,7 @@ test.describe('Dynamic CMS', () => {
3333 )
3434 expect ( headers2 [ 'netlify-cache-tag' ] ) . toEqual ( '_n_t_/content/blog' )
3535 expect ( headers2 [ 'netlify-cdn-cache-control' ] ) . toMatch (
36- / s - m a x a g e = 3 1 5 3 6 0 0 0 , ( s t a l e - w h i l e - r e v a l i d a t e = 3 1 5 3 6 0 0 0 , ) ? d u r a b l e /
36+ / s - m a x a g e = 3 1 5 3 6 0 0 0 , ( s t a l e - w h i l e - r e v a l i d a t e = 3 1 5 3 6 0 0 0 , ) ? d u r a b l e / ,
3737 )
3838
3939 // 4. Unpublish the blob, revalidate the dynamic page, and wait to regenerate
@@ -52,7 +52,7 @@ test.describe('Dynamic CMS', () => {
5252 )
5353 expect ( headers3 [ 'netlify-cache-tag' ] ) . toEqual ( '_n_t_/content/blog' )
5454 expect ( headers3 [ 'netlify-cdn-cache-control' ] ) . toMatch (
55- / s - m a x a g e = 3 1 5 3 6 0 0 0 , ( s t a l e - w h i l e - r e v a l i d a t e = 3 1 5 3 6 0 0 0 , ) ? d u r a b l e /
55+ / s - m a x a g e = 3 1 5 3 6 0 0 0 , ( s t a l e - w h i l e - r e v a l i d a t e = 3 1 5 3 6 0 0 0 , ) ? d u r a b l e / ,
5656 )
5757 } )
5858} )
0 commit comments