From 999b0c6cf221a3266674f8c99342a46c33bb9101 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 4 Mar 2026 01:11:40 -0500 Subject: [PATCH] test(slack): update interaction session key assertions --- src/slack/monitor/events/interactions.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slack/monitor/events/interactions.test.ts b/src/slack/monitor/events/interactions.test.ts index be47f6ac8a7..21fd6d173d4 100644 --- a/src/slack/monitor/events/interactions.test.ts +++ b/src/slack/monitor/events/interactions.test.ts @@ -223,6 +223,7 @@ describe("registerSlackInteractionEvents", () => { expect(resolveSessionKey).toHaveBeenCalledWith({ channelId: "C1", channelType: "channel", + senderId: "U123", }); expect(app.client.chat.update).toHaveBeenCalledTimes(1); }); @@ -554,6 +555,7 @@ describe("registerSlackInteractionEvents", () => { expect(resolveSessionKey).toHaveBeenCalledWith({ channelId: "C222", channelType: "channel", + senderId: "U111", }); expect(enqueueSystemEventMock).toHaveBeenCalledTimes(1); const [eventText] = enqueueSystemEventMock.mock.calls[0] as [string]; @@ -952,6 +954,7 @@ describe("registerSlackInteractionEvents", () => { expect(resolveSessionKey).toHaveBeenCalledWith({ channelId: "D123", channelType: "im", + senderId: "U777", }); expect(enqueueSystemEventMock).toHaveBeenCalledTimes(1); const [eventText] = enqueueSystemEventMock.mock.calls[0] as [string];