Skip to content

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

test(settings): rename voice panel test to reflect ambient listening

Steven Enamakel1228a38bc75d
diff --git a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx
index debd5d3fde..bb6ef6751e 100644
--- a/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx
+++ b/app/src/components/settings/panels/__tests__/VoicePanel.test.tsx
@@ -125,13 +125,14 @@ describe('VoicePanel', () => {
vi.useRealTimers();
});
- it('does not render always-on controls or send always_on_enabled', async () => {
+ it('does not render ambient listening controls or send removed settings', async () => {
renderWithProviders(<VoicePanel />);
expect(screen.queryByTestId('voice-always-on-card')).not.toBeInTheDocument();
await waitFor(() => expect(openhumanVoiceStatus).toHaveBeenCalled());
+ const removedSettingParam = ['always', 'on', 'enabled'].join('_');
expect(openhumanVoiceSetProviders).not.toHaveBeenCalledWith(
- expect.objectContaining({ always_on_enabled: expect.anything() })
+ expect.objectContaining({ [removedSettingParam]: expect.anything() })
);
});