Skip to content

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

TypeScript

fix(desktop-ui): r10-l1 type the stale-request test reporter

Josué6c53d19b663e
diff --git a/desktop-app/ui/src/hooks/__tests__/selectionError.r9.characterization.test.tsx b/desktop-app/ui/src/hooks/__tests__/selectionError.r9.characterization.test.tsx
index ace0116f7..eb73edee0 100644
--- a/desktop-app/ui/src/hooks/__tests__/selectionError.r9.characterization.test.tsx
+++ b/desktop-app/ui/src/hooks/__tests__/selectionError.r9.characterization.test.tsx
@@ -90,7 +90,7 @@ describe('Round 9 selection error ownership', () => {
let switchPromise!: Promise<void>
act(() => {
switchPromise = controller.result.current.switchToChat('agent-x', 'chat-2', {
- onCurrentError: controller.spies.pushToast,
+ onCurrentError: error => controller.spies.pushToast(String(error), 'error'),
})
})
const observed = switchPromise.then(