Skip to content

Commit a067a2e

Browse files
committed
update: middleware.spec.ts
1 parent 18ccfa6 commit a067a2e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/middleware.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ describe("middleware", () => {
2626
groupId: "test_group_id",
2727
type: "group",
2828
},
29+
webhookEventId: "test_webhook_event_id",
30+
deliveryContext: {
31+
isRedelivery: false,
32+
},
2933
timestamp: 0,
3034
mode: "active",
3135
type: "message",
3236
};
3337
const webhookSignature = {
34-
"X-Line-Signature": "GzU7H3qOXDzDD6cNcS/9otLzlLFxnYYriz62rNu5BDE=",
38+
"X-Line-Signature": "Ey7AjSuSI2GfTDQHICAiRLLJ+GSMseISNYaQ6qXSjrU=",
3539
};
3640

3741
const http = (headers: any = { ...webhookSignature }) =>

0 commit comments

Comments
 (0)