mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +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.status).toBe("passed");
|
||||||
expect(evaluation.fields).toMatchObject({
|
expect(evaluation.fields).toStrictEqual({
|
||||||
behavior: "Gateway startup no longer drops the configured Discord channel.",
|
behavior: "Gateway startup no longer drops the configured Discord channel.",
|
||||||
evidence: "",
|
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.",
|
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]);
|
expect(labelsForRealBehaviorProof(evaluation)).toEqual([PROOF_SUPPLIED_LABEL]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user