Skip to content

Commit

Permalink
update test strings
Browse files Browse the repository at this point in the history
Signed-off-by: Benji Visser <[email protected]>
  • Loading branch information
noqcks committed Jan 30, 2023
1 parent c8c52d0 commit 4393bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/action.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ describe("scan-action", () => {
const outputs = runAction({
image: "localhost:5000/match-coverage/mongo-32:latest",
});
expect(outputs.stdout).toContain("Failed minimum severity level.");
expect(outputs.stdout).toContain("Failed. Xeol found packages that were End-of-Life (EOL)");
});

it("runs with sbom", () => {
const outputs = runAction({
sbom: "fixtures/test_sbom.spdx.json",
});
expect(outputs.stdout).toContain("Failed minimum severity level.");
expect(outputs.stdout).toContain("Failed. Xeol found packages that were End-of-Life (EOL)");
});
});

0 comments on commit 4393bb8

Please sign in to comment.