mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Improve cli output.
This commit is contained in:
parent
32f5ef9b16
commit
ccaa7934ee
9 changed files with 41 additions and 25 deletions
|
|
@ -36,7 +36,7 @@ describe("E2E: npm coverage using PATH", () => {
|
|||
const result = await shell.runCommand("npm i axios");
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("No malicious packages detected."),
|
||||
result.output.includes("no malicious packages found."),
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ describe("E2E: npm coverage", () => {
|
|||
const result = await shell.runCommand("npm i axios");
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("No malicious packages detected."),
|
||||
result.output.includes("no malicious packages found."),
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ describe("E2E: pnpm coverage", () => {
|
|||
const result = await shell.runCommand("pnpm add axios");
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("No malicious packages detected."),
|
||||
result.output.includes("no malicious packages found."),
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ describe("E2E: pnpm coverage", () => {
|
|||
const result = await shell.runCommand("pnpm add axios");
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("No malicious packages detected."),
|
||||
result.output.includes("no malicious packages found."),
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ describe("E2E: yarn coverage", () => {
|
|||
const result = await shell.runCommand("yarn add axios");
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("No malicious packages detected."),
|
||||
result.output.includes("no malicious packages found."),
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ describe("E2E: yarn coverage", () => {
|
|||
const result = await shell.runCommand("yarn add axios");
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("No malicious packages detected."),
|
||||
result.output.includes("no malicious packages found."),
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue