Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(desktop-app): r8-l10 cover stream session-expiry purge
Josuéa2b20223d27f
diff --git a/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx b/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsxindex 2b072632a..02311b5b2 100644--- a/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx+++ b/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx@@ -1654,7 +1654,14 @@ describe('App live GFS preview revalidation', () => {render(<App />)await waitFor(() => expect(dispatchEntityChange).toBeTypeOf('function'))- act(() => dispatchEntityChange?.({ ...USER_SCOPE_INVALIDATED }))+ act(() =>+ dispatchEntityChange?.({+ schemaVersion: 1,+ type: 'stream.closing',+ cursor: '00000000-0000-0000-0000-000000000000',+ reason: 'session_expired',+ })+ )await waitFor(() => {const previews = currentController.workspaceTabs.tabs.filter(tab => tab.kind === 'preview')