From 1e22ae80422caa0e2347590ce2500e2ecb33218b Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Mon, 20 May 2024 02:57:07 +0900 Subject: [PATCH] chore: fixed bun test --- tests/main.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/main.test.ts b/tests/main.test.ts index 0062e1f..04a4656 100644 --- a/tests/main.test.ts +++ b/tests/main.test.ts @@ -64,9 +64,9 @@ describe("Worker tests", () => { }, }); const res = await worker.fetch(req, { - WEBHOOK_SECRET: process.env.WEBHOOK_SECRET, + WEBHOOK_SECRET: "webhook-secret", APP_ID: process.env.APP_ID, - PRIVATE_KEY: process.env.PRIVATE_KEY, + PRIVATE_KEY: "private-key", PLUGIN_CHAIN_STATE: {} as KVNamespace, }); expect(res.status).toEqual(200);