@@ -12,14 +12,14 @@ describe("app", () => {
1212 const response = await fetch ( host ) ;
1313 assert . ok ( response . ok ) ;
1414 assert . equal ( response . headers . get ( "content-type" ) ?. toLowerCase ( ) , "text/html; charset=utf-8" ) ;
15- assert . equal ( response . headers . get ( "cache-control" ) , "s-maxage=31536000" ) ;
15+ assert . equal ( response . headers . get ( "cache-control" ) , "s-maxage=31536000, " ) ;
1616 } ) ;
1717
1818 it ( "/ssg" , async ( ) => {
1919 const response = await fetch ( posix . join ( host , "ssg" ) ) ;
2020 assert . ok ( response . ok ) ;
2121 assert . equal ( response . headers . get ( "content-type" ) ?. toLowerCase ( ) , "text/html; charset=utf-8" ) ;
22- assert . equal ( response . headers . get ( "cache-control" ) , "s-maxage=31536000" ) ;
22+ assert . equal ( response . headers . get ( "cache-control" ) , "s-maxage=31536000, " ) ;
2323 const text = await response . text ( ) ;
2424 assert . ok ( text . includes ( "SSG" ) ) ;
2525 assert . ok ( text . includes ( "Generated" ) ) ;
@@ -74,7 +74,7 @@ describe("app", () => {
7474 const response = await fetch ( posix . join ( host , "isr" , "demand" ) ) ;
7575 assert . ok ( response . ok ) ;
7676 assert . equal ( response . headers . get ( "content-type" ) ?. toLowerCase ( ) , "text/html; charset=utf-8" ) ;
77- assert . equal ( response . headers . get ( "cache-control" ) , "s-maxage=31536000" ) ;
77+ assert . equal ( response . headers . get ( "cache-control" ) , "s-maxage=31536000, " ) ;
7878 const text = await response . text ( ) ;
7979 assert . ok ( text . includes ( "A cached page" ) ) ;
8080 assert . ok ( text . includes ( "Generated" ) ) ;
0 commit comments