From 3513b60dbcef07e5d56ed5add8e9eeeb5fbd6ba4 Mon Sep 17 00:00:00 2001 From: plind-dm <59729252+plind-dm@users.noreply.github.com> Date: Sun, 5 Apr 2026 21:57:15 +0900 Subject: [PATCH] test: assert attachments field in heartbeat-context response Add missing assertion for the empty attachments array in the heartbeat-context test to verify the field mapping is present. --- server/src/__tests__/issues-goal-context-routes.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/__tests__/issues-goal-context-routes.test.ts b/server/src/__tests__/issues-goal-context-routes.test.ts index d8036797..db2bdbc4 100644 --- a/server/src/__tests__/issues-goal-context-routes.test.ts +++ b/server/src/__tests__/issues-goal-context-routes.test.ts @@ -199,5 +199,6 @@ describe("issue goal context routes", () => { }), ); expect(mockGoalService.getDefaultCompanyGoal).not.toHaveBeenCalled(); + expect(res.body.attachments).toEqual([]); }); });