mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix config
This commit is contained in:
parent
4c76242d44
commit
b794b293d1
1 changed files with 3 additions and 3 deletions
|
|
@ -65,14 +65,14 @@ describe("E2E: Safe chain proxy", () => {
|
||||||
// storage: ./storage
|
// storage: ./storage
|
||||||
// log: { type: file, path: ./verdaccio.log, level: info }
|
// log: { type: file, path: ./verdaccio.log, level: info }
|
||||||
await configShell.runCommand(
|
await configShell.runCommand(
|
||||||
"echo 'log: { type: file, path: /verdaccio.log, level: trace, colors: false }' >> ~/.verdaccio-config.yaml"
|
"echo 'storage: ./storage' >> ~/verdaccio-config.yaml"
|
||||||
);
|
);
|
||||||
await configShell.runCommand(
|
await configShell.runCommand(
|
||||||
"echo 'storage: ./storage' >> ~/.verdaccio-config.yaml"
|
"echo 'log: { type: file, path: /verdaccio.log, level: trace }' >> ~/verdaccio-config.yaml"
|
||||||
);
|
);
|
||||||
|
|
||||||
// Start a local npm registry (verdaccio) inside the container
|
// Start a local npm registry (verdaccio) inside the container
|
||||||
container.dockerExec("npx -y verdaccio -c ~/.verdaccio-config.yaml", true);
|
container.dockerExec("npx -y verdaccio -c ~/verdaccio-config.yaml", true);
|
||||||
|
|
||||||
// Polling until verdaccio is ready (max 60 seconds)
|
// Polling until verdaccio is ready (max 60 seconds)
|
||||||
let verdaccioStarted = false;
|
let verdaccioStarted = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue