mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add more logs, handle verdaccio not starting better
This commit is contained in:
parent
c50eac977b
commit
37585e8073
1 changed files with 3 additions and 2 deletions
|
|
@ -72,6 +72,7 @@ describe("E2E: Safe chain proxy", () => {
|
|||
);
|
||||
if (curlOutput.includes("200 OK")) {
|
||||
verdaccioStarted = true;
|
||||
console.log("Verdaccio started, after " + i * 500 + "ms");
|
||||
break;
|
||||
}
|
||||
} catch {
|
||||
|
|
@ -79,10 +80,10 @@ describe("E2E: Safe chain proxy", () => {
|
|||
}
|
||||
}
|
||||
if (!verdaccioStarted) {
|
||||
throw new Error("Verdaccio did not start in time");
|
||||
assert.fail("Verdaccio did not start in time");
|
||||
}
|
||||
|
||||
const shell = await container.openShell("bash");
|
||||
const shell = await container.openShell("zsh");
|
||||
const result = await shell.runCommand(
|
||||
"npm --registry http://localhost:4873 install react"
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue