























@@ -528,8 +528,28 @@ describe("buildMinimaxSpeechProvider", () => {
528528throw new Error("Expected MiniMax provider listVoices");
529529}
530530const voices = await listVoices({} as never);
531-expect(voices.length).toBeGreaterThan(0);
532-expect(voices[0].id).toBe("English_expressive_narrator");
531+expect(voices).toStrictEqual([
532+{
533+id: "English_expressive_narrator",
534+name: "English_expressive_narrator",
535+},
536+{
537+id: "Chinese (Mandarin)_Warm_Girl",
538+name: "Chinese (Mandarin)_Warm_Girl",
539+},
540+{
541+id: "Chinese (Mandarin)_Lively_Girl",
542+name: "Chinese (Mandarin)_Lively_Girl",
543+},
544+{
545+id: "Chinese (Mandarin)_Gentle_Boy",
546+name: "Chinese (Mandarin)_Gentle_Boy",
547+},
548+{
549+id: "Chinese (Mandarin)_Steady_Boy",
550+name: "Chinese (Mandarin)_Steady_Boy",
551+},
552+]);
533553});
534554});
535555});
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。