diff --git a/src/commands/models/auth-list.test.ts b/src/commands/models/auth-list.test.ts index 938e0ecc0d1..6540c02f872 100644 --- a/src/commands/models/auth-list.test.ts +++ b/src/commands/models/auth-list.test.ts @@ -95,7 +95,7 @@ describe("modelsAuthListCommand", () => { provider: "openai-codex", }); expect(runtime.jsonPayloads).toStrictEqual([ - expect.objectContaining({ + { agentDir: "/tmp/openclaw/agents/coder", agentId: "coder", authStatePath: "/tmp/openclaw/agents/coder/auth-state.json", @@ -111,7 +111,7 @@ describe("modelsAuthListCommand", () => { }, ], provider: "openai-codex", - }), + }, ]); expect(JSON.stringify(runtime.jsonPayloads[0])).not.toContain("secret"); });