test(e2e): assert canonical TTS provider in smoke · openclaw/openclaw@942d46a
vincentkoc
·
2026-05-01
·
via Recent Commits to openclaw:main
File tree
scripts/e2e/lib/bundled-plugin-install-uninstall
| Original file line number | Diff line number | Diff line change |
|---|
@@ -336,10 +336,9 @@ async function runManifestProbes(plan, options) {
|
336 | 336 | if (plan.speechProviders.length > 0) { |
337 | 337 | const providers = await rpcCall("tts.providers", {}, options); |
338 | 338 | const status = await rpcCall("tts.status", {}, options); |
339 | | -for (const provider of plan.speechProviders) { |
340 | | -assertSpeechProviderVisible(providers, provider, "tts.providers"); |
341 | | -assertSpeechProviderVisible(status, provider, "tts.status"); |
342 | | -} |
| 339 | +const provider = plan.speechProviders[0]; |
| 340 | +assertSpeechProviderVisible(providers, provider, "tts.providers"); |
| 341 | +assertSpeechProviderVisible(status, provider, "tts.status"); |
343 | 342 | } |
344 | 343 | } |
345 | 344 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。