mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 09:10:42 +00:00
test: tighten real behavior proof assertions
This commit is contained in:
@@ -71,10 +71,13 @@ describe("real-behavior-proof-policy", () => {
|
||||
});
|
||||
|
||||
expect(evaluation.status).toBe("passed");
|
||||
expect(evaluation.fields).toMatchObject({
|
||||
expect(evaluation.fields).toStrictEqual({
|
||||
behavior: "Gateway startup no longer drops the configured Discord channel.",
|
||||
evidence: "",
|
||||
environment: "macOS 15.4, Node 24, local OpenClaw gateway with a redacted Discord token.",
|
||||
notTested: "No known gaps.",
|
||||
observedResult: "The gateway stayed connected and the Discord channel showed ready.",
|
||||
steps: "pnpm openclaw gateway restart, then pnpm openclaw gateway status",
|
||||
});
|
||||
expect(labelsForRealBehaviorProof(evaluation)).toEqual([PROOF_SUPPLIED_LABEL]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user