nodejs/test/parallel/test-https-agent-constructo...

10 lines
224 B
JavaScript

'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);