Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

test(dictation): Stub isSttConfigStale in the paste recovery hook test (#2338)

Chad Piha679cee7afa00
diff --git a/test/helpers/useAudioRecordingPasteRecovery.test.js b/test/helpers/useAudioRecordingPasteRecovery.test.js
index 909b61606..7032c5815 100644
--- a/test/helpers/useAudioRecordingPasteRecovery.test.js
+++ b/test/helpers/useAudioRecordingPasteRecovery.test.js
@@ -69,6 +69,7 @@ async function mount(t) {
setCallbacks(callbacks) { this.callbacks=callbacks; }
getState() { return { isRecording:false, isProcessing:false }; }
shouldUseStreaming() { return false; }
+ isSttConfigStale() { return false; }
setVoiceAgentRequested(value) { this.voiceAgentRequested=value; }
setAssistantSelectionContext() {}
setTranslationRequested() {}