mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Pin axios version in tests
This commit is contained in:
parent
5e63a83238
commit
136e66b1d0
9 changed files with 23 additions and 23 deletions
|
|
@ -30,7 +30,7 @@ describe("E2E: safe-chain setup command", () => {
|
|||
const projectShell = await container.openShell(shell);
|
||||
await projectShell.runCommand("cd /testapp");
|
||||
const result = await projectShell.runCommand(
|
||||
"npm i axios --safe-chain-logging=verbose"
|
||||
"npm i axios@1.13.0 --safe-chain-logging=verbose"
|
||||
);
|
||||
|
||||
const hasExpectedOutput = result.output.includes("Safe-chain: Scanned");
|
||||
|
|
@ -50,8 +50,8 @@ describe("E2E: safe-chain setup command", () => {
|
|||
|
||||
const projectShell = await container.openShell(shell);
|
||||
await projectShell.runCommand("cd /testapp");
|
||||
await projectShell.runCommand("npm i axios");
|
||||
const result = await projectShell.runCommand("npm i axios");
|
||||
await projectShell.runCommand("npm i axios@1.13.0");
|
||||
const result = await projectShell.runCommand("npm i axios@1.13.0");
|
||||
|
||||
assert.ok(
|
||||
!result.output.includes("Scanning for malicious packages..."),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue