mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 10:34:44 +00:00
test: dedupe sandbox mock read
This commit is contained in:
@@ -152,7 +152,7 @@ describe("sandboxListCommand", () => {
|
||||
|
||||
await sandboxListCommand({ browser: false, json: true }, runtime as never);
|
||||
|
||||
const loggedJson = runtime.log.mock.calls.at(0)?.[0];
|
||||
const loggedJson = runtime.log.mock.calls[0]?.[0];
|
||||
const parsed = JSON.parse(loggedJson);
|
||||
|
||||
expect(parsed).toStrictEqual({
|
||||
|
||||
Reference in New Issue
Block a user