Skip to content

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

TypeScript

test(desktop): update host authority fixtures

Alfredo Lopezd99a0b3dfe5d
diff --git a/desktop-app/src/__tests__/appService.bootstrap.test.ts b/desktop-app/src/__tests__/appService.bootstrap.test.ts
index ba2eb86c8..e4a5f21d5 100644
--- a/desktop-app/src/__tests__/appService.bootstrap.test.ts
+++ b/desktop-app/src/__tests__/appService.bootstrap.test.ts
@@ -132,7 +132,7 @@ describe('AppService invitation configuration lookup', () => {
expect(bindChatStoreForUser).toHaveBeenCalledWith(
'user-1',
resolveEnvKey('https://api.example.com', 'https://rpc.example.com'),
- { legacyEnvKeys: [getActiveLegacyRestOnlyEnvKey()] }
+ { legacyEnvKeys: [getActiveLegacyRestOnlyEnvKey()], teamId: 'team-1' }
)
expect(config.externalRestApiBaseUrl).toBe('https://api.example.com')
expect(config.rpcProxyBaseUrl).toBe('https://rpc.example.com')
diff --git a/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx b/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx
index 23dc0468a..0d57e86af 100644
--- a/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx
+++ b/desktop-app/ui/src/__tests__/App.chatDrawer.test.tsx
@@ -341,6 +341,7 @@ function makeController(overrides: Partial<AppController> = {}): AppController {
authTransitioning: false,
handleEnsureTeamContext: vi.fn(async () => false),
getCurrentTeamId: vi.fn(() => 'team-a'),
+ isHostAccessBlocked: vi.fn(() => false),
handleSelectChatAgent,
handleOpenNotification,
handleNavSelect,
diff --git a/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx b/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx
index a521a8008..64dda1896 100644
--- a/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx
+++ b/desktop-app/ui/src/__tests__/App.deepLinks.test.tsx
@@ -320,6 +320,7 @@ function makeController(overrides: Partial<AppController> = {}): AppController {
authTransitioning: false,
handleEnsureTeamContext: ensureTeamContext,
getCurrentTeamId: vi.fn(() => liveTeamId),
+ isHostAccessBlocked: vi.fn(() => false),
handleSelectChatAgent,
handleNavSelect,
handleLogout: vi.fn(),