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(voice): assert server settings update is not called
Steven Enamakeld2b2de314722
diff --git a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsxindex bb6ef6751e..2892906c05 100644--- a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx@@ -11,6 +11,7 @@ import {} from '../../../../services/api/voiceSettingsApi';import { renderWithProviders } from '../../../../test/test-utils';import {+ openhumanUpdateVoiceServerSettings,openhumanVoiceSetProviders,openhumanVoiceStatus,type VoiceStatus,@@ -18,6 +19,7 @@ import {import VoicePanel from '../VoicePanel';vi.mock('../../../../utils/tauriCommands', () => ({+ openhumanUpdateVoiceServerSettings: vi.fn(),openhumanVoiceSetProviders: vi.fn(),openhumanVoiceStatus: vi.fn(),}));@@ -134,6 +136,7 @@ describe('VoicePanel', () => {expect(openhumanVoiceSetProviders).not.toHaveBeenCalledWith(expect.objectContaining({ [removedSettingParam]: expect.anything() }));+ expect(openhumanUpdateVoiceServerSettings).not.toHaveBeenCalled();});// ─── Voice Routing Section ──────────────────────────────────────────────