Fix config

This commit is contained in:
Sander Declerck 2025-10-14 15:23:40 +02:00
parent bfe5820d0f
commit dfdce18c8d
No known key found for this signature in database

View file

@ -61,12 +61,14 @@ describe("E2E: Safe chain proxy", () => {
it(`safe-chain proxy allows to request through a local http registry`, async () => { it(`safe-chain proxy allows to request through a local http registry`, async () => {
const configShell = await container.openShell("bash"); const configShell = await container.openShell("bash");
await configShell.runCommand("touch ~/.verdaccio-config.yaml"); await configShell.runCommand("touch ~/.verdaccio-config.yaml");
await configShell.runCommand("echo 'log:' >> ~/.verdaccio-config.yaml"); // verdaccio.yaml
// storage: ./storage
// log: { type: file, path: ./verdaccio.log, level: info }
await configShell.runCommand( await configShell.runCommand(
"echo ' type: file' >> ~/.verdaccio-config.yaml" "echo 'log: { type: file, path: /verdaccio.log, level: info }' >> ~/.verdaccio-config.yaml"
); );
await configShell.runCommand( await configShell.runCommand(
"echo ' path: /verdaccio.log' >> ~/.verdaccio-config.yaml" "echo 'storage: ./storage' >> ~/.verdaccio-config.yaml"
); );
// Start a local npm registry (verdaccio) inside the container // Start a local npm registry (verdaccio) inside the container