We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898cf78 commit 1b542e8Copy full SHA for 1b542e8
1 file changed
test/parallel/test-tls-client-getephemeralkeyinfo.js
@@ -40,13 +40,14 @@ function test(size, type, name, cipher) {
40
const client = tls.connect({
41
port: server.address().port,
42
rejectUnauthorized: false
43
- }, function() {
+ }, common.mustCall(function() {
44
const ekeyinfo = client.getEphemeralKeyInfo();
45
assert.strictEqual(ekeyinfo.type, type);
46
assert.strictEqual(ekeyinfo.size, size);
47
assert.strictEqual(ekeyinfo.name, name);
48
server.close();
49
- });
+ }));
50
+ client.on('secureConnect', common.mustCall());
51
}));
52
}
53
0 commit comments