Skip to content

Commit

Permalink
fix(test): update test assertion
Browse files Browse the repository at this point in the history
An additional error DEPTH_ZERO_SELF_SIGNED_CERT is being reported now after #2783

https://nodejs.org/api/tls.html
  • Loading branch information
hassy committed May 27, 2024
1 parent 0fdade8 commit 784c9e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/test/acceptance/ws/ws-tls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ test('TLS - with rejectUnauthorized true', function (t) {
console.log(report);
t.equal(
Object.keys(report.errors).length,
1,
`Test should run with one error. Got: ${Object.keys(report.errors)}`
2,
`Test should run with two errors. Got: ${Object.keys(report.errors)}`
);
ee.stop().then(() => {
t.end();
Expand Down

0 comments on commit 784c9e4

Please sign in to comment.