mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Fix e2e tests
This commit is contained in:
parent
c8df7566b5
commit
77e9d3d843
2 changed files with 2 additions and 6 deletions
|
|
@ -41,9 +41,7 @@ describe("E2E: safe-chain setup-ci command", () => {
|
|||
const projectShell = await container.openShell(shell);
|
||||
const result = await projectShell.runCommand("npm i axios");
|
||||
|
||||
const hasExpectedOutput = result.output.includes(
|
||||
"Scanning for malicious packages..."
|
||||
);
|
||||
const hasExpectedOutput = result.output.includes("Safe-chain: Scanned");
|
||||
assert.ok(
|
||||
hasExpectedOutput,
|
||||
hasExpectedOutput
|
||||
|
|
|
|||
|
|
@ -31,9 +31,7 @@ describe("E2E: safe-chain setup command", () => {
|
|||
await projectShell.runCommand("cd /testapp");
|
||||
const result = await projectShell.runCommand("npm i axios");
|
||||
|
||||
const hasExpectedOutput = result.output.includes(
|
||||
"Scanning for malicious packages..."
|
||||
);
|
||||
const hasExpectedOutput = result.output.includes("Safe-chain: Scanned");
|
||||
assert.ok(
|
||||
hasExpectedOutput,
|
||||
hasExpectedOutput
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue