Fix test issue

This commit is contained in:
Reinier Criel 2025-12-08 16:53:07 -08:00 committed by Sander Declerck
parent d96cf7d14d
commit c3244342e7
No known key found for this signature in database

View file

@ -310,7 +310,7 @@ describe("E2E: NODE_EXTRA_CA_CERTS merging", () => {
);
assert.ok(
result.output.includes("added"),
!result.output.toLowerCase().includes("error") || result.output.includes("Done"),
`yarn add failed with valid NODE_EXTRA_CA_CERTS. Output was:\n${result.output}`
);
});
@ -326,7 +326,7 @@ describe("E2E: NODE_EXTRA_CA_CERTS merging", () => {
);
assert.ok(
result.output.includes("added"),
!result.output.toLowerCase().includes("error") || result.output.includes("Progress"),
`pnpm add failed with valid NODE_EXTRA_CA_CERTS. Output was:\n${result.output}`
);
});
@ -340,7 +340,7 @@ describe("E2E: NODE_EXTRA_CA_CERTS merging", () => {
);
assert.ok(
result.output.includes("installed") || result.output.includes("packages installed"),
!result.output.toLowerCase().includes("error") || result.output.includes("installed"),
`bun i failed with valid NODE_EXTRA_CA_CERTS. Output was:\n${result.output}`
);
});