test: tighten xai realtime transcription assertion · openclaw/openclaw@d99c3f7
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -193,8 +193,7 @@ describe("xai realtime transcription provider", () => {
|
193 | 193 | |
194 | 194 | it("accepts xAI realtime aliases", () => { |
195 | 195 | const provider = buildXaiRealtimeTranscriptionProvider(); |
196 | | -expect(provider.aliases).toEqual( |
197 | | -expect.arrayContaining(["xai-realtime", "grok-stt-streaming"]), |
198 | | -); |
| 196 | +expect(provider.aliases).toContain("xai-realtime"); |
| 197 | +expect(provider.aliases).toContain("grok-stt-streaming"); |
199 | 198 | }); |
200 | 199 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。