test(e2e): activate channel rows for runtime smoke · openclaw/openclaw@93222c5
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 |
|---|
@@ -268,6 +268,15 @@ async function smokePlugin(pluginId, pluginDir, requiresConfig, pluginIndex) {
|
268 | 268 | const port = |
269 | 269 | readPositiveInt(process.env.OPENCLAW_BUNDLED_PLUGIN_RUNTIME_PORT_BASE, 19000) + pluginIndex * 3; |
270 | 270 | const config = ensureGatewayConfig(readConfig(), port); |
| 271 | +for (const channel of plan.channels) { |
| 272 | +config.channels = { |
| 273 | + ...(config.channels ?? {}), |
| 274 | +[channel]: { |
| 275 | + ...(config.channels?.[channel] ?? {}), |
| 276 | +enabled: true, |
| 277 | +}, |
| 278 | +}; |
| 279 | +} |
271 | 280 | if (plan.speechProviders[0]) { |
272 | 281 | config.messages = { |
273 | 282 | ...(config.messages ?? {}), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。