Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ai-panel): correct test for disabled state when no provider is selected

Steven Enamakel25e7ce56fa85
diff --git a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx b/app/src/components/settings/panels/__tests__/AIPanel.test.tsx
index bec2af200d..0d12dcd7ba 100644
--- a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx
+++ b/app/src/components/settings/panels/__tests__/AIPanel.test.tsx
@@ -327,7 +327,9 @@ describe('AIPanel', () => {
// ...and must NOT render a toggle switch users would try (and fail) to flip.
expect(screen.queryByRole('switch', { name: /Managed/i })).toBeNull();
// A hint points users wanting a different provider at the Routing tab.
- expect(screen.getByText(/Choose which provider each task uses on the Routing tab/i)).toBeInTheDocument();
+ expect(
+ screen.getByText(/Choose which provider each task uses on the Routing tab/i)
+ ).toBeInTheDocument();
});
it('shows the per-workload routing tables directly, with no mode selector', async () => {