test: tighten thread binding policy assertion · openclaw/openclaw@3c97092
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -75,11 +75,9 @@ describe("thread binding spawn policy helpers", () => {
|
75 | 75 | kind: "subagent", |
76 | 76 | }); |
77 | 77 | |
78 | | -expect(policy).toMatchObject({ |
79 | | -enabled: true, |
80 | | -spawnEnabled: true, |
81 | | -defaultSpawnContext: "fork", |
82 | | -}); |
| 78 | +expect(policy.enabled).toBe(true); |
| 79 | +expect(policy.spawnEnabled).toBe(true); |
| 80 | +expect(policy.defaultSpawnContext).toBe("fork"); |
83 | 81 | }); |
84 | 82 | |
85 | 83 | it("uses spawnSessions for both subagent and ACP spawn policy", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。