Compare commits

..

1 Commits

Author SHA1 Message Date
f0ea182d2f tests passing 2025-07-03 01:43:49 -06:00

View File

@@ -268,15 +268,6 @@ describe("Router", () => {
const res = await router.handle(req);
assertEquals(res.status, 500);
});
it("should handle no handlers returning a response", async () => {
router.get("/test", async () => undefined as unknown as Response);
const req = new Request("http://localhost/test", {
method: "GET",
});
const res = await router.handle(req);
assertEquals(res.status, 501);
});
});
describe("HTTP Methods", () => {