summaryrefslogtreecommitdiff
path: root/test/parallel/test-https-agent-constructor.js
blob: 69156ba0f64de938b67ba11204ac38d476ce8087 (plain)
1
2
3
4
5
6
7
8
9
'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);