Skip to content

Commit

Permalink
fixup: relax test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Sep 26, 2024
1 parent d1cddf8 commit cb0c6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/e2e-tests/test/e2e-tls.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe('e2e TLS', function () {
const result = await shell.waitForPromptOrExit();
expect(result.state).to.equal('exit');
shell.assertContainsOutput(
/unable to verify the first certificate|self[- ]signed certificate in certificate chain/
/unable to verify the first certificate|self[- ]signed certificate in certificate chain|unable to get local issuer certificate/
);
});

Expand All @@ -185,7 +185,7 @@ describe('e2e TLS', function () {
const result = await shell.waitForPromptOrExit();
expect(result.state).to.equal('exit');
shell.assertContainsOutput(
/unable to verify the first certificate|self[- ]signed certificate in certificate chain/
/unable to verify the first certificate|self[- ]signed certificate in certificate chain|unable to get local issuer certificate/
);
});

Expand Down

0 comments on commit cb0c6ed

Please sign in to comment.