From 9975df22ec5d886627f6e2dc0b551d1a1fcf7e0a Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Wed, 17 Mar 2021 03:02:53 +0900 Subject: [PATCH] fix: tests (#154) --- router_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router_test.ts b/router_test.ts index 4b1bc6d..acffe26 100644 --- a/router_test.ts +++ b/router_test.ts @@ -131,7 +131,7 @@ group("method routes", (t) => { }); t.test("OPTIONS", async () => { router.options("/", handler); - assertMethods(router, "OPTIONS"); + await assertMethods(router, "OPTIONS"); }); });