Skip to content

Commit 2ef23ad

Browse files
fixup! lib: deprecate _tls_common and _tls_wrap
skip tests if crypo is missing
1 parent 3d42133 commit 2ef23ad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/parallel/test-warn-tls-common-deprecation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
const common = require('../common');
4+
if (!common.hasCrypto) common.skip('missing crypto');
45

56
// _tls_common is deprecated.
67

test/parallel/test-warn-tls-wrap-deprecation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
const common = require('../common');
4+
if (!common.hasCrypto) common.skip('missing crypto');
45

56
// _tls_wrap is deprecated.
67

0 commit comments

Comments
 (0)