Skip to content

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

TypeScript

test(desktop-ui): r5-l6 clarify setLastActive mock error

Josué9b9cb582b417
diff --git a/desktop-app/ui/src/hooks/domain/__tests__/useAgentChatController.test.tsx b/desktop-app/ui/src/hooks/domain/__tests__/useAgentChatController.test.tsx
index 0a28e7db9..c524e119a 100644
--- a/desktop-app/ui/src/hooks/domain/__tests__/useAgentChatController.test.tsx
+++ b/desktop-app/ui/src/hooks/domain/__tests__/useAgentChatController.test.tsx
@@ -142,7 +142,7 @@ describe('useAgentChatController — characterization (D.0)', () => {
const firstSetLastActive = deferred<void>()
const setLastActive = clerum.chat.setLastActive.getMockImplementation()
- if (!setLastActive) throw new Error('Expected the ChatStore setLastActive producer')
+ if (!setLastActive) throw new Error('Expected the setLastActive test mock implementation')
let holdFirstCall = true
clerum.chat.setLastActive.mockImplementation(async (agentRef, chatId) => {
if (agentRef === 'agent-x' && chatId === 'chat-a' && holdFirstCall) {