mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix tests
This commit is contained in:
parent
d9b7aefd34
commit
6cdad3df98
7 changed files with 33 additions and 22 deletions
|
|
@ -100,8 +100,9 @@ describe("E2E: safe-chain CLI python/pip support", () => {
|
|||
"safe-chain pip3 install --break-system-packages numpy==2.4.4"
|
||||
);
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("blocked 1 malicious package downloads"),
|
||||
assert.match(
|
||||
result.output,
|
||||
/blocked \d+ malicious package downloads/,
|
||||
`Should have blocked malware. Output was:\n${result.output}`
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue