Skip to content

Commit cca0d81

Browse files
committed
update test
1 parent b35ec47 commit cca0d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

worker/index.worker.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)