Fix config

This commit is contained in:
Sander Declerck 2025-10-14 15:32:13 +02:00
parent 4c76242d44
commit b794b293d1
No known key found for this signature in database

View file

@ -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;