Fix unit test

This commit is contained in:
Reinier Criel 2025-11-13 12:48:04 -08:00
parent a0e24b1722
commit 4ee18973de
2 changed files with 4 additions and 1 deletions

View file

@ -29,7 +29,10 @@ describe("runPipCommand environment variable handling", () => {
mergeSafeChainProxyEnvironmentVariables: (env) => ({
...env,
...customEnv,
// Force deterministic proxy for tests regardless of ambient env
GLOBAL_AGENT_HTTP_PROXY: "http://localhost:8080",
HTTPS_PROXY: "http://localhost:8080",
HTTP_PROXY: "",
}),
},
});