test: tighten real behavior proof assertions · openclaw/openclaw@2abb027
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -71,10 +71,13 @@ describe("real-behavior-proof-policy", () => {
|
71 | 71 | }); |
72 | 72 | |
73 | 73 | expect(evaluation.status).toBe("passed"); |
74 | | -expect(evaluation.fields).toMatchObject({ |
| 74 | +expect(evaluation.fields).toStrictEqual({ |
75 | 75 | behavior: "Gateway startup no longer drops the configured Discord channel.", |
76 | 76 | evidence: "", |
| 77 | +environment: "macOS 15.4, Node 24, local OpenClaw gateway with a redacted Discord token.", |
| 78 | +notTested: "No known gaps.", |
77 | 79 | observedResult: "The gateway stayed connected and the Discord channel showed ready.", |
| 80 | +steps: "pnpm openclaw gateway restart, then pnpm openclaw gateway status", |
78 | 81 | }); |
79 | 82 | expect(labelsForRealBehaviorProof(evaluation)).toEqual([PROOF_SUPPLIED_LABEL]); |
80 | 83 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。