Skip to content

Commit

Permalink
test: reference the actual error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed Jun 27, 2022
1 parent 332f1f0 commit 0067aec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('NetInstrumentation', () => {
);
tlsSocket.on('error', error => {
const { tlsSpan } = getTLSSpans();
assert.strictEqual(tlsSpan.status.message, 'self signed certificate');
assert.strictEqual(tlsSpan.status.message, error.message);
assert.strictEqual(tlsSpan.status.code, SpanStatusCode.ERROR);
done();
});
Expand Down

0 comments on commit 0067aec

Please sign in to comment.