test: confine respawn bridge options · openclaw/openclaw@b304155
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -168,7 +168,7 @@ describe("entry compile cache", () => {
|
168 | 168 | "child process bridge attach", |
169 | 169 | ); |
170 | 170 | expect(bridgeChild).toBe(child); |
171 | | -expect(bridgeOptions).toEqual(expect.objectContaining({ onSignal: expect.any(Function) })); |
| 171 | +expect(bridgeOptions).toEqual({ onSignal: expect.any(Function) }); |
172 | 172 | |
173 | 173 | child.emit("exit", 0, null); |
174 | 174 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -198,7 +198,7 @@ describe("runCliRespawnPlan", () => {
|
198 | 198 | "child process bridge attach", |
199 | 199 | ); |
200 | 200 | expect(bridgeChild).toBe(child); |
201 | | -expect(bridgeOptions).toEqual(expect.objectContaining({ onSignal: expect.any(Function) })); |
| 201 | +expect(bridgeOptions).toEqual({ onSignal: expect.any(Function) }); |
202 | 202 | |
203 | 203 | child.emit("exit", 0, null); |
204 | 204 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。