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(browser-connections-panel): inline single-line waitFor assertion
Steven Enamakel3ebfef8ffb96
diff --git a/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx b/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsxindex fc167ad6f6..ffd5a2dc5c 100644--- a/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx+++ b/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx@@ -55,9 +55,7 @@ describe('BrowserConnectionsPanel', () => {expect.objectContaining({ enabled: true, profile_mode: 'fresh' })));- await waitFor(() =>- expect(screen.getByText('connections.browser.testModule')).toBeEnabled()- );+ await waitFor(() => expect(screen.getByText('connections.browser.testModule')).toBeEnabled());mocks.rpc.mockResolvedValueOnce({ result: { module: { id: 'tinybrowser', state: 'ready' } } });fireEvent.click(screen.getByText('connections.browser.testModule'));await waitFor(() =>