From 6710763e5cc0dca9850cf8fed514e6c8f306803d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 9 May 2026 05:21:38 +0100 Subject: [PATCH] test: tighten discord webhook activity assertion --- extensions/discord/src/send.webhook-activity.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/discord/src/send.webhook-activity.test.ts b/extensions/discord/src/send.webhook-activity.test.ts index 91b9c66feae..812132d3261 100644 --- a/extensions/discord/src/send.webhook-activity.test.ts +++ b/extensions/discord/src/send.webhook-activity.test.ts @@ -100,7 +100,7 @@ describe("sendWebhookMessageDiscord activity", () => { }); expect(fetch).toHaveBeenCalledWith( - expect.any(String), + "https://discord.com/api/v10/webhooks/wh-1/tok-1?wait=true&thread_id=thread-1", expect.objectContaining({ body: expect.stringContaining('"content":"hello <@123456789012345678>"'), }),