From 216e16cfb1406b8fdeffbfeb0a5edb4448ca68b8 Mon Sep 17 00:00:00 2001 From: Reinier Criel Date: Wed, 5 Nov 2025 11:13:24 -0800 Subject: [PATCH] Fix e2e test --- test/e2e/pip-ci.e2e.spec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/e2e/pip-ci.e2e.spec.js b/test/e2e/pip-ci.e2e.spec.js index 7b2bfa0..a32a677 100644 --- a/test/e2e/pip-ci.e2e.spec.js +++ b/test/e2e/pip-ci.e2e.spec.js @@ -42,13 +42,13 @@ describe("E2E: safe-chain setup-ci command for pip/pip3", () => { ); const hasExpectedOutput = result.output.includes( - "Scanning for malicious packages..." + "no malware found." ); assert.ok( hasExpectedOutput, hasExpectedOutput ? "Expected pip3 command to be wrapped by safe-chain" - : `Output did not contain \"Scanning for malicious packages...\": \n${result.output}` + : `Output did not contain \"no malware found.\": \n${result.output}` ); }); @@ -68,7 +68,7 @@ describe("E2E: safe-chain setup-ci command for pip/pip3", () => { ); assert.ok( - result.output.includes("Scanning for malicious packages..."), + result.output.includes("no malware found."), `Output did not contain scan message. Output was:\n${result.output}` ); }); @@ -89,7 +89,7 @@ describe("E2E: safe-chain setup-ci command for pip/pip3", () => { ); assert.ok( - result.output.includes("Scanning for malicious packages..."), + result.output.includes("no malware found."), `Output did not contain scan message. Output was:\n${result.output}` ); }); @@ -110,7 +110,7 @@ describe("E2E: safe-chain setup-ci command for pip/pip3", () => { ); assert.ok( - result.output.includes("Scanning for malicious packages..."), + result.output.includes("no malware found."), `Output did not contain scan message. Output was:\n${result.output}` ); }); @@ -131,7 +131,7 @@ describe("E2E: safe-chain setup-ci command for pip/pip3", () => { ); assert.ok( - result.output.includes("Scanning for malicious packages..."), + result.output.includes("no malware found."), `Output did not contain scan message. Output was:\n${result.output}` ); });