mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
https: support agent construction without new
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>
This commit is contained in:
1 parent
07137ab4db
commit
d51cd61713
2 files changed
+10
No files matched your search
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
require('../common');
|
||||
const assert = require('assert');
|
||||
const https = require('https');
|
||||
|
||||
assert.doesNotThrow(() => { https.Agent(); });
|
||||
assert.ok(https.Agent() instanceof https.Agent);
|
||||
Reference in new issue
Block a user