test: dedupe sandbox mock read

This commit is contained in:
Peter Steinberger
2026-05-13 01:21:33 +01:00
parent 48eb4e39b2
commit ccb9c68487

View File

@@ -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({