test: tighten discord webhook activity assertion

This commit is contained in:
Peter Steinberger
2026-05-09 05:21:38 +01:00
parent d8a83510ce
commit 6710763e5c

View File

@@ -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>"'),
}),