Update tests to use HTTPS for postman-echo.com and adjust proxy environment variable
This commit is contained in:
@@ -196,7 +196,7 @@ describe('proxy', () => {
|
||||
})
|
||||
|
||||
it('HttpClient does basic http get request through proxy', async () => {
|
||||
process.env['http_proxy'] = _proxyUrl
|
||||
process.env['https_proxy'] = _proxyUrl
|
||||
const httpClient = new httpm.HttpClient()
|
||||
const res: httpm.HttpClientResponse = await httpClient.get(
|
||||
'https://postman-echo.com/get'
|
||||
|
||||
Reference in New Issue
Block a user