From 8187baab18fbe869f9d9ee0b9bf5420e77019506 Mon Sep 17 00:00:00 2001 From: mneves75 Date: Tue, 6 Jan 2026 11:55:45 -0300 Subject: [PATCH] test: format models list alias coverage --- src/commands/models.list.test.ts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/commands/models.list.test.ts b/src/commands/models.list.test.ts index e00a305bc..911ae7afa 100644 --- a/src/commands/models.list.test.ts +++ b/src/commands/models.list.test.ts @@ -149,7 +149,10 @@ describe("models list/status", () => { }); const { modelsListCommand } = await import("./models/list.js"); - await modelsListCommand({ all: true, provider: "z.ai", json: true }, runtime); + await modelsListCommand( + { all: true, provider: "z.ai", json: true }, + runtime, + ); expect(runtime.log).toHaveBeenCalledTimes(1); const payload = JSON.parse(String(runtime.log.mock.calls[0]?.[0])); @@ -186,7 +189,10 @@ describe("models list/status", () => { }); const { modelsListCommand } = await import("./models/list.js"); - await modelsListCommand({ all: true, provider: "Z.AI", json: true }, runtime); + await modelsListCommand( + { all: true, provider: "Z.AI", json: true }, + runtime, + ); expect(runtime.log).toHaveBeenCalledTimes(1); const payload = JSON.parse(String(runtime.log.mock.calls[0]?.[0])); @@ -223,7 +229,10 @@ describe("models list/status", () => { }); const { modelsListCommand } = await import("./models/list.js"); - await modelsListCommand({ all: true, provider: "z-ai", json: true }, runtime); + await modelsListCommand( + { all: true, provider: "z-ai", json: true }, + runtime, + ); expect(runtime.log).toHaveBeenCalledTimes(1); const payload = JSON.parse(String(runtime.log.mock.calls[0]?.[0]));