Skip to content

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

TypeScript

test(desktop-app): bound sidebar app launch wait

Josuéa8ffccc01d4e
diff --git a/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx b/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx
index ca15a4c46..9759e4311 100644
--- a/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx
+++ b/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx
@@ -1814,7 +1814,9 @@ describe('App deep-link orchestration', () => {
sidebarHarness.props?.onOpenSandboxUiApp?.(app)
await Promise.resolve()
})
- await waitFor(() => expect(sandboxUiPageHarness.props?.shortcutApp?.appRef).toBe(appRef))
+ await waitFor(() => expect(sandboxUiPageHarness.props?.shortcutApp?.appRef).toBe(appRef), {
+ timeout: 5_000,
+ })
}
async function selectTab(index: 0 | 1 | 2): Promise<void> {