Skip to content

The agent that grows with you

test(desktop): voice-prefs mocks export $bargeInEnabled

Brooklyn Nicholsonbe7f7b1af9f6
diff --git a/apps/desktop/src/app/chat/composer/hooks/use-composer-voice-shortcuts.test.tsx b/apps/desktop/src/app/chat/composer/hooks/use-composer-voice-shortcuts.test.tsx
index 7d80e2211d2..c7dee744e28 100644
--- a/apps/desktop/src/app/chat/composer/hooks/use-composer-voice-shortcuts.test.tsx
+++ b/apps/desktop/src/app/chat/composer/hooks/use-composer-voice-shortcuts.test.tsx
@@ -73,6 +73,7 @@ vi.mock('@/store/voice-prefs', async () => {
return {
$autoSpeakReplies: atom(false),
+ $bargeInEnabled: atom(true),
$voiceStopPhrase: atom(null),
setAutoSpeakReplies: vi.fn(async () => undefined)
}
diff --git a/apps/desktop/src/app/chat/composer/hooks/use-voice-conversation-warmup.test.tsx b/apps/desktop/src/app/chat/composer/hooks/use-voice-conversation-warmup.test.tsx
index 6a81e9ca99d..3558624644e 100644
--- a/apps/desktop/src/app/chat/composer/hooks/use-voice-conversation-warmup.test.tsx
+++ b/apps/desktop/src/app/chat/composer/hooks/use-voice-conversation-warmup.test.tsx
@@ -74,6 +74,7 @@ vi.mock('@/store/voice-prefs', async () => {
return {
$autoSpeakReplies: atom(false),
+ $bargeInEnabled: atom(true),
$bargeInThresholdMultiplier: atom(1),
$voiceSilenceMs: atom(1250)
}