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
bfe5820d0f
commit
dfdce18c8d
1 changed files with 5 additions and 3 deletions
|
|
@ -61,12 +61,14 @@ describe("E2E: Safe chain proxy", () => {
|
|||
it(`safe-chain proxy allows to request through a local http registry`, async () => {
|
||||
const configShell = await container.openShell("bash");
|
||||
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(
|
||||
"echo ' type: file' >> ~/.verdaccio-config.yaml"
|
||||
"echo 'log: { type: file, path: /verdaccio.log, level: info }' >> ~/.verdaccio-config.yaml"
|
||||
);
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue