mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten elevenlabs realtime config assertion
This commit is contained in:
@@ -24,12 +24,18 @@ describe("buildElevenLabsRealtimeTranscriptionProvider", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(resolved).toMatchObject({
|
||||
expect(resolved).toEqual({
|
||||
apiKey: "eleven-key",
|
||||
baseUrl: undefined,
|
||||
modelId: undefined,
|
||||
audioFormat: "ulaw_8000",
|
||||
sampleRate: 8000,
|
||||
commitStrategy: "vad",
|
||||
languageCode: "en",
|
||||
vadSilenceThresholdSecs: undefined,
|
||||
vadThreshold: undefined,
|
||||
minSpeechDurationMs: undefined,
|
||||
minSilenceDurationMs: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user