Skip to content

Commit

Permalink
fix: add tests (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp authored Mar 16, 2021
1 parent 7014209 commit 38fe650
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions router_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ group("method routes", (t) => {
router.delete("/", handler);
await assertMethods(router, "DELETE");
});
t.test("OPTIONS", async () => {
router.options("/", handler);
assertMethods(router, "OPTIONS");
});
});

group("same path routes", (t) => {
Expand Down

0 comments on commit 38fe650

Please sign in to comment.