diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 1eb6539b09..c3fbb75953 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -1497,6 +1497,8 @@ namespace https_tests { https.request('http://www.example.com/xyz'); + https.globalAgent.options.ca = []; + { const server = new https.Server(); diff --git a/types/node/v4/node-tests.ts b/types/node/v4/node-tests.ts index e60b578ccf..2b3be03f8d 100644 --- a/types/node/v4/node-tests.ts +++ b/types/node/v4/node-tests.ts @@ -561,6 +561,8 @@ namespace https_tests { }); https.request('http://www.example.com/xyz'); + + https.globalAgent.options.ca = []; } //////////////////////////////////////////////////// diff --git a/types/node/v6/node-tests.ts b/types/node/v6/node-tests.ts index cd363c708c..6cfb45692b 100644 --- a/types/node/v6/node-tests.ts +++ b/types/node/v6/node-tests.ts @@ -1015,6 +1015,8 @@ namespace https_tests { }); https.request('http://www.example.com/xyz'); + + https.globalAgent.options.ca = []; } //////////////////////////////////////////////////// diff --git a/types/node/v7/node-tests.ts b/types/node/v7/node-tests.ts index 0240dcc120..eb25e01f10 100644 --- a/types/node/v7/node-tests.ts +++ b/types/node/v7/node-tests.ts @@ -1093,6 +1093,8 @@ namespace https_tests { }); https.request('http://www.example.com/xyz'); + + https.globalAgent.options.ca = []; } //////////////////////////////////////////////////// diff --git a/types/node/v8/node-tests.ts b/types/node/v8/node-tests.ts index 74d4c5c222..5cd7ad4586 100644 --- a/types/node/v8/node-tests.ts +++ b/types/node/v8/node-tests.ts @@ -1471,6 +1471,8 @@ namespace https_tests { https.request('http://www.example.com/xyz'); + https.globalAgent.options.ca = []; + { const server = new https.Server();