From d0e7df343ea88321ce0978ac9f593cc2b5d02b83 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 21:44:42 +0100 Subject: [PATCH] test: seal auth list json --- src/commands/models/auth-list.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); });