test: tighten node-host runner assertion · openclaw/openclaw@79abc3f
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -78,10 +78,6 @@ describe("runNodeHost", () => {
|
78 | 78 | ).rejects.toThrow("event loop readiness timeout"); |
79 | 79 | |
80 | 80 | expect(mocks.capturedGatewayClientOptions).toHaveLength(1); |
81 | | -expect(mocks.capturedGatewayClientOptions[0]).toEqual( |
82 | | -expect.objectContaining({ |
83 | | -url: "ws://127.0.0.1:18789", |
84 | | -}), |
85 | | -); |
| 81 | +expect(mocks.capturedGatewayClientOptions[0]?.url).toBe("ws://127.0.0.1:18789"); |
86 | 82 | }); |
87 | 83 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。