From 3f5f20f8c1dd310ab19952144c4403bb7365e380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Fri, 17 Apr 2026 22:38:16 -0400 Subject: [PATCH] fix(test): correct stale section name in notification-service batched test Test 7 asserted navigation.section === "orgchart", but commit 36bed1b renamed the section to "agents" when deleting the orgchart view. The production code emits "agents"; only the test was stale. --- tests/unit/notification-service.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/notification-service.test.ts b/tests/unit/notification-service.test.ts index 97f76f80..8918fa21 100644 --- a/tests/unit/notification-service.test.ts +++ b/tests/unit/notification-service.test.ts @@ -209,7 +209,7 @@ describe("notification-service", () => { (args: unknown[]) => (args[0] as { type?: string })?.type === "notification-click", ); expect(emitCall).toBeDefined(); - expect(emitCall![0].section).toBe("orgchart"); + expect(emitCall![0].section).toBe("agents"); expect(emitCall![0].entityId).toBeUndefined(); });