mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add tests
This commit is contained in:
@@ -1497,6 +1497,8 @@ namespace https_tests {
|
||||
|
||||
https.request('http://www.example.com/xyz');
|
||||
|
||||
https.globalAgent.options.ca = [];
|
||||
|
||||
{
|
||||
const server = new https.Server();
|
||||
|
||||
|
||||
@@ -561,6 +561,8 @@ namespace https_tests {
|
||||
});
|
||||
|
||||
https.request('http://www.example.com/xyz');
|
||||
|
||||
https.globalAgent.options.ca = [];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
@@ -1015,6 +1015,8 @@ namespace https_tests {
|
||||
});
|
||||
|
||||
https.request('http://www.example.com/xyz');
|
||||
|
||||
https.globalAgent.options.ca = [];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
@@ -1093,6 +1093,8 @@ namespace https_tests {
|
||||
});
|
||||
|
||||
https.request('http://www.example.com/xyz');
|
||||
|
||||
https.globalAgent.options.ca = [];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
@@ -1471,6 +1471,8 @@ namespace https_tests {
|
||||
|
||||
https.request('http://www.example.com/xyz');
|
||||
|
||||
https.globalAgent.options.ca = [];
|
||||
|
||||
{
|
||||
const server = new https.Server();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user