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.
This commit is contained in:
1 parent
c71d033b0c
commit
3f5f20f8c1
1 file changed
+1
-1
@@ -209,7 +209,7 @@ describe("notification-service", () => {
|
|||||||
(args: unknown[]) => (args[0] as { type?: string })?.type === "notification-click",
|
(args: unknown[]) => (args[0] as { type?: string })?.type === "notification-click",
|
||||||
);
|
);
|
||||||
expect(emitCall).toBeDefined();
|
expect(emitCall).toBeDefined();
|
||||||
expect(emitCall![0].section).toBe("orgchart");
|
expect(emitCall![0].section).toBe("agents");
|
||||||
expect(emitCall![0].entityId).toBeUndefined();
|
expect(emitCall![0].entityId).toBeUndefined();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user