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
fix(tools panel): correct test for missing tools message
Steven Enamakelc0ec55ed997c
diff --git a/app/src/components/settings/panels/ToolsPanel.test.tsx b/app/src/components/settings/panels/ToolsPanel.test.tsxindex 815b9d43f7..20a7e3bb2a 100644--- a/app/src/components/settings/panels/ToolsPanel.test.tsx+++ b/app/src/components/settings/panels/ToolsPanel.test.tsx@@ -134,7 +134,7 @@ describe('<ToolsPanel /> — saving tools preserves the onboarding flags it doesmocks.setOnboardingTasks.mockResolvedValue(undefined);});- it('round-trips accessibilityPermissionGranted, model-consent and sources unchanged', async () => {+ it('round-trips accessibilityPermissionGranted and sources unchanged', async () => {render(<ToolsPanel />);const shellToggle = screen.getByRole('switch', { name: /Shell Commands/ });@@ -150,8 +150,6 @@ describe('<ToolsPanel /> — saving tools preserves the onboarding flags it does// hardcoded `false` here silently revokes a recorded macOS permission and// a recorded local-model consent every time someone edits tool settings.expect(saved.accessibilityPermissionGranted).toBe(true);- expect(saved.localModelConsentGiven).toBe(true);- expect(saved.localModelDownloadStarted).toBe(true);expect(saved.connectedSources).toEqual(['gmail']);// And the thing it does own still changed, so the assertions above are not