From 145fcca0f0f77a2416c8e9efd97338301ca72b59 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Sat, 3 Sep 2022 23:59:41 +0900 Subject: [PATCH] fix test --- test/index.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/index.test.ts b/test/index.test.ts index fc6eb0d6..179ac678 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -135,7 +135,7 @@ describe("verifyFirebaseAuth middleware", () => { }, ], ])("%s", async (_, { headerKey, env, config, wantStatus }) => { - const app = new Hono(); + const app = new Hono<{ Bindings: VerifyFirebaseAuthEnv }>(); resetAuth(); @@ -167,7 +167,7 @@ describe("verifyFirebaseAuth middleware", () => { const getSpy = jest.spyOn(nopKeyStore, "get"); const putSpy = jest.spyOn(nopKeyStore, "put"); - const app = new Hono(); + const app = new Hono<{ Bindings: VerifyFirebaseAuthEnv }>(); resetAuth(); @@ -202,7 +202,7 @@ describe("verifyFirebaseAuth middleware", () => { const testingJWT = generateDummyJWT(); const nopKeyStore = new NopKeyStore(); - const app = new Hono(); + const app = new Hono<{ Bindings: VerifyFirebaseAuthEnv }>(); resetAuth();