test(e2e): avoid synthetic channel config in plugin smoke · openclaw/openclaw@a28f129
vincentkoc
·
2026-05-22
·
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 |
|---|
@@ -387,15 +387,6 @@ async function smokePlugin(pluginId, pluginDir, requiresConfig, pluginIndex) {
|
387 | 387 | const port = |
388 | 388 | readPositiveInt(process.env.OPENCLAW_BUNDLED_PLUGIN_RUNTIME_PORT_BASE, 19000) + pluginIndex * 3; |
389 | 389 | const config = ensureGatewayConfig(activateSmokePlugin(readConfig(), pluginId), port); |
390 | | -for (const channel of plan.channels) { |
391 | | -config.channels = { |
392 | | - ...config.channels, |
393 | | -[channel]: { |
394 | | - ...config.channels?.[channel], |
395 | | -enabled: true, |
396 | | -}, |
397 | | -}; |
398 | | -} |
399 | 390 | if (plan.speechProviders[0]) { |
400 | 391 | const provider = plan.speechProviders[0]; |
401 | 392 | config.messages = { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。