test: dedupe sandbox mock read · openclaw/openclaw@ccb9c68
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -152,7 +152,7 @@ describe("sandboxListCommand", () => {
|
152 | 152 | |
153 | 153 | await sandboxListCommand({ browser: false, json: true }, runtime as never); |
154 | 154 | |
155 | | -const loggedJson = runtime.log.mock.calls.at(0)?.[0]; |
| 155 | +const loggedJson = runtime.log.mock.calls[0]?.[0]; |
156 | 156 | const parsed = JSON.parse(loggedJson); |
157 | 157 | |
158 | 158 | expect(parsed).toStrictEqual({ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。