Skip to content

Commit

Permalink
Update router_test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp committed Mar 16, 2021
1 parent 8826f57 commit 7014209
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions router_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,19 @@ group("method routes", (t) => {
});
t.test("GET", async () => {
router.get("/", handler);
assertMethods(router, "GET");
await assertMethods(router, "GET");
});
t.test("POST", async () => {
router.post("/", handler);
assertMethods(router, "POST");
await assertMethods(router, "POST");
});
t.test("PUT", async () => {
router.put("/", handler);
assertMethods(router, "PUT");
await assertMethods(router, "PUT");
});
t.test("DELETE", async () => {
router.delete("/", handler);
assertMethods(router, "DELETE");
await assertMethods(router, "DELETE");
});
});

Expand Down

0 comments on commit 7014209

Please sign in to comment.