test: tighten cli output assertion · openclaw/openclaw@dfc175c
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -272,10 +272,16 @@ describe("parseCliJsonl", () => {
|
272 | 272 | "local-cli", |
273 | 273 | ); |
274 | 274 | |
275 | | -expect(result).toMatchObject({ |
| 275 | +expect(result).toEqual({ |
276 | 276 | text: "dialect says hello", |
277 | 277 | sessionId: "session-dialect", |
278 | | -usage: { input: 5, output: 2 }, |
| 278 | +usage: { |
| 279 | +input: 5, |
| 280 | +output: 2, |
| 281 | +cacheRead: undefined, |
| 282 | +cacheWrite: undefined, |
| 283 | +total: undefined, |
| 284 | +}, |
279 | 285 | }); |
280 | 286 | }); |
281 | 287 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。