File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ describe("Cloudflare Docs", () => {
2424 const request = new Request ( "http://fakehost/non-existent" ) ;
2525 const response = await SELF . fetch ( request ) ;
2626 expect ( response . status ) . toBe ( 404 ) ;
27- expect ( await response . text ( ) ) . toContain ( "Page not found. " ) ;
27+ expect ( await response . text ( ) ) . toContain ( "Check the URL, " ) ;
2828 } ) ;
2929 } ) ;
3030
@@ -283,7 +283,7 @@ describe("Cloudflare Docs", () => {
283283 const request = new Request ( "http://fakehost/non-existent/index.md" ) ;
284284 const response = await SELF . fetch ( request ) ;
285285 expect ( response . status ) . toBe ( 404 ) ;
286- expect ( await response . text ( ) ) . toContain ( "Page not found. " ) ;
286+ expect ( await response . text ( ) ) . toContain ( "Check the URL, " ) ;
287287 } ) ;
288288 } ) ;
289289
You can’t perform that action at this time.
0 commit comments