test: identify logging size issue · openclaw/openclaw@806d1f3
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,12 @@ describe("logging.maxFileBytes config", () => {
|
19 | 19 | }); |
20 | 20 | expect(res.ok).toBe(false); |
21 | 21 | if (!res.ok) { |
22 | | -expect(res.issues.map((issue) => issue.path)).toContain("logging.maxFileBytes"); |
| 22 | +expect(res.issues).toEqual([ |
| 23 | +{ |
| 24 | +path: "logging.maxFileBytes", |
| 25 | +message: "Too small: expected number to be >0", |
| 26 | +}, |
| 27 | +]); |
23 | 28 | } |
24 | 29 | }); |
25 | 30 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。