mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-23 22:20:21 +00:00
test: seal auth list json
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user