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
|
|
@ -131,8 +131,9 @@ describe("E2E: pip coverage", () => {
|
|||
"pip3 install --break-system-packages numpy==2.4.4 --safe-chain-logging=verbose"
|
||||
);
|
||||
|
||||
assert.ok(
|
||||
result.output.includes("blocked 1 malicious package downloads:"),
|
||||
assert.match(
|
||||
result.output,
|
||||
/blocked \d+ malicious package downloads:/,
|
||||
`Output did not include expected text. Output was:\n${result.output}`
|
||||
);
|
||||
assert.ok(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue