
























@@ -116,9 +116,21 @@ describe("RTT harness", () => {
116116version: "2026.4.30-beta.1",
117117});
118118119-expect(result).toMatchObject({
119+expect(result).toStrictEqual({
120+artifacts: {
121+rawObservedMessagesPath: "runs/run/raw/telegram-qa-observed-messages.json",
122+rawReportPath: "runs/run/raw/telegram-qa-report.md",
123+rawSummaryPath: "runs/run/raw/telegram-qa-summary.json",
124+resultPath: "runs/run/result.json",
125+},
120126package: { spec: "openclaw@beta", version: "2026.4.30-beta.1" },
121-run: { durationMs: 12_000, id: "run", status: "pass" },
127+run: {
128+durationMs: 12_000,
129+finishedAt: "2026-05-01T00:00:12.000Z",
130+id: "run",
131+startedAt: "2026-05-01T00:00:00.000Z",
132+status: "pass",
133+},
122134mode: {
123135providerMode: "mock-openai",
124136scenarios: ["telegram-mentioned-message-reply"],
@@ -131,9 +143,9 @@ describe("RTT harness", () => {
131143p95Ms: 7000,
132144maxMs: 7000,
133145failedSamples: 0,
146+warmSamples: [4000, 5000, 7000],
134147},
135148});
136-expect(result.rtt.warmSamples).toEqual([4000, 5000, 7000]);
137149});
138150139151it("marks failed scenario summaries as failed results", () => {
@@ -195,7 +207,7 @@ describe("RTT harness", () => {
195207]);
196208197209expect(parsed.spec).toBe("openclaw@latest");
198-expect(parsed.options).toMatchObject({
210+expect(parsed.options).toStrictEqual({
199211packageTgz: "/tmp/openclaw.tgz",
200212providerMode: "live-frontier",
201213runs: 3,
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。