test: seal auth list json

This commit is contained in:
Shakker
2026-05-11 21:44:42 +01:00
parent b9722dcea7
commit d0e7df343e

View File

@@ -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");
});