Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli-repl/src/tls-certificate-selector.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('arg-mapper.applyTlsCertificateSelector', function () {
return this.skip();
}
expect(() => getTlsCertificateSelector('subject=Foo Bar')).to.throw(
/Could not find a matching certificate/
/Could not find a matching certificate|The specified item could not be found in the keychain/
);
});
});
Expand Down
4 changes: 3 additions & 1 deletion packages/e2e-tests/test/e2e-tls.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,9 @@ describe('e2e TLS', function () {
'Could not resolve certificate specification'
);
} else if (process.platform === 'darwin') {
shell.assertContainsOutput('Could not find a matching certificate');
shell.assertContainsOutput(
/Could not find a matching certificate|The specified item could not be found in the keychain/
);
} else {
shell.assertContainsOutput(
'tlsCertificateSelector is not supported on this platform'
Expand Down