The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(PermissionGrantAdapter): update mock to include connectionId
Steven Enamakelef47f5a8bb10
diff --git a/app/src/features/conversations/aui/PermissionGrantAdapter.test.tsx b/app/src/features/conversations/aui/PermissionGrantAdapter.test.tsxindex dc693a0424..ee30cba7c0 100644--- a/app/src/features/conversations/aui/PermissionGrantAdapter.test.tsx+++ b/app/src/features/conversations/aui/PermissionGrantAdapter.test.tsx@@ -46,7 +46,10 @@ describe('PermissionGrantAdapter', () => {});it('authorizes and opens the OAuth URL when Connect is clicked', async () => {- vi.mocked(authorize).mockResolvedValue({ connectUrl: 'https://example.com/oauth' });+ vi.mocked(authorize).mockResolvedValue({+ connectUrl: 'https://example.com/oauth',+ connectionId: 'conn-1',+ });renderAdapter();await userEvent.click(screen.getByRole('button', { name: /connect/i }));