Fixes: https://github.com/nodejs/node/issues/12918 PR-URL: https://github.com/nodejs/node/pull/12927 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
7 lines
199 B
JavaScript
7 lines
199 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
const https = require('https');
|
|
|
|
assert.doesNotThrow(() => { https.Agent(); });
|
|
assert.ok(https.Agent() instanceof https.Agent);
|