mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Fix unit test
This commit is contained in:
parent
a0e24b1722
commit
4ee18973de
2 changed files with 4 additions and 1 deletions
|
|
@ -29,7 +29,10 @@ describe("runPipCommand environment variable handling", () => {
|
||||||
mergeSafeChainProxyEnvironmentVariables: (env) => ({
|
mergeSafeChainProxyEnvironmentVariables: (env) => ({
|
||||||
...env,
|
...env,
|
||||||
...customEnv,
|
...customEnv,
|
||||||
|
// Force deterministic proxy for tests regardless of ambient env
|
||||||
|
GLOBAL_AGENT_HTTP_PROXY: "http://localhost:8080",
|
||||||
HTTPS_PROXY: "http://localhost:8080",
|
HTTPS_PROXY: "http://localhost:8080",
|
||||||
|
HTTP_PROXY: "",
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ export class DockerTestContainer {
|
||||||
].join(" ");
|
].join(" ");
|
||||||
|
|
||||||
execSync(
|
execSync(
|
||||||
`docker build --no-cache -t ${imageName} -f ${dockerFile} ${contextPath} ${buildArgs}`,
|
`docker build -t ${imageName} -f ${dockerFile} ${contextPath} ${buildArgs}`,
|
||||||
{
|
{
|
||||||
stdio: "ignore",
|
stdio: "ignore",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue