test: verify gateway fallback detail · openclaw/openclaw@22657f5
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -36,7 +36,16 @@ describe("status.gateway-connection", () => {
|
36 | 36 | bindMode: "loopback", |
37 | 37 | configPath: "/tmp/openclaw.json", |
38 | 38 | }), |
39 | | -).toContain("Local fallback (used for probes): ws://127.0.0.1:18789"); |
| 39 | +).toBe( |
| 40 | +[ |
| 41 | +"Gateway mode: remote", |
| 42 | +"Gateway target: (missing gateway.remote.url)", |
| 43 | +"Config: /tmp/openclaw.json", |
| 44 | +"Bind: loopback", |
| 45 | +"Local fallback (used for probes): ws://127.0.0.1:18789", |
| 46 | +"Fix: set gateway.remote.url, or set gateway.mode=local.", |
| 47 | +].join("\n"), |
| 48 | +); |
40 | 49 | }); |
41 | 50 | |
42 | 51 | it("prefers node-only connection details when present", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。