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
|
|
@ -70,8 +70,9 @@ describe("E2E: yarn coverage", () => {
|
|||
|
||||
var result = await shell.runCommand("yarn");
|
||||
|
||||
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