mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
test: harden codex auth startup contracts
(cherry picked from commit ab7bd17b8f)
This commit is contained in:
parent
98d39f5ab8
commit
98946183d3
1 changed files with 2 additions and 0 deletions
|
|
@ -1583,6 +1583,7 @@ describe("bridgeCodexAppServerStartOptions", () => {
|
|||
});
|
||||
vi.stubEnv("CODEX_API_KEY", "codex-env-api-key");
|
||||
vi.stubEnv("OPENAI_API_KEY", "openai-env-api-key");
|
||||
vi.stubEnv("CODEX_HOME", path.join(agentDir, "codex-home"));
|
||||
try {
|
||||
await applyCodexAppServerAuthProfile({
|
||||
client: { request } as never,
|
||||
|
|
@ -1777,6 +1778,7 @@ describe("bridgeCodexAppServerStartOptions", () => {
|
|||
});
|
||||
vi.stubEnv("CODEX_API_KEY", "codex-env-api-key");
|
||||
vi.stubEnv("OPENAI_API_KEY", "openai-env-api-key");
|
||||
vi.stubEnv("CODEX_HOME", path.join(agentDir, "codex-home"));
|
||||
try {
|
||||
await applyCodexAppServerAuthProfile({
|
||||
client: { request } as never,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue