Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/main
/
.
/
test
/
parallel
/
test-https-agent-constructor.js
blob: 69156ba0f64de938b67ba11204ac38d476ce8087 [
file
] [
log
] [
blame
] [
edit
]
'use strict'
;
const
common
=
require
(
'../common'
);
if
(!
common
.
hasCrypto
)
common
.
skip
(
'missing crypto'
);
const
assert
=
require
(
'assert'
);
const
https
=
require
(
'https'
);
assert
.
ok
(
https
.
Agent
()
instanceof https
.
Agent
);