The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): cover focused duration wording
Yuan Lifab83ebfcf6a
diff --git a/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx b/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsxindex 08e411422fa..7cd7325d337 100644--- a/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx+++ b/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx@@ -174,7 +174,7 @@ describe('statusbar session timer — focused since (#103123)', () => {const item = sessionTimerItem()expect(timerSince(item)).toBe(4_000)- expect(item?.label).toBe('Focused since')+ expect(item?.label).toBe('Focused for')expect(item?.title).toMatch(/not how long a turn/)})@@ -193,7 +193,7 @@ describe('statusbar session timer — focused since (#103123)', () => {expect(since).toBeLessThanOrEqual(Date.now())expect(since).not.toBe(dayOldRowSeconds * 1000)expect(since).not.toBe(4_000)- expect(item?.label).toBe('Focused since')+ expect(item?.label).toBe('Focused for')expect(item?.hidden).toBeFalsy()})