test: tighten subagent thinking assertion · openclaw/openclaw@c7de8f6
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -18,8 +18,8 @@ function expectResolvedThinkingPlan(input: {
|
18 | 18 | thinkingOverrideRaw: input.thinkingOverrideRaw, |
19 | 19 | }); |
20 | 20 | |
21 | | -expect(plan.status).toBe("ok"); |
22 | | -expect(plan).toMatchObject({ |
| 21 | +expect(plan).toEqual({ |
| 22 | + status: "ok", |
23 | 23 | thinkingOverride: input.expected, |
24 | 24 | initialSessionPatch: { thinkingLevel: input.expected }, |
25 | 25 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。