Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(desktop-app): r1-l4 pin the full-screen route test to the selected chat

Diego Zacarias2a1df28a6f9f
diff --git a/desktop-app/ui/src/hooks/__tests__/useAppController.chatDrawer.test.tsx b/desktop-app/ui/src/hooks/__tests__/useAppController.chatDrawer.test.tsx
index 0bf86ffdb..82ec59040 100644
--- a/desktop-app/ui/src/hooks/__tests__/useAppController.chatDrawer.test.tsx
+++ b/desktop-app/ui/src/hooks/__tests__/useAppController.chatDrawer.test.tsx
@@ -163,6 +163,7 @@ describe('useAppController — chat drawer keepNavItem', () => {
expect(app.result.current.selectedAgent).toBe('agent-x')
expect(app.result.current.navItem).toBe(DESKTOP_ROUTES.chat)
+ expect(app.result.current.activeChatId).toBe('chat-1')
})
it('opens a conversation notification in the drawer (keepNavItem) without ejecting to full-screen', async () => {