mirror of https://github.com/actions/toolkit
Update packages/http-client/__tests__/proxy.test.ts
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>pull/1429/head
parent
672c88ec4b
commit
bbab4bec57
|
@ -201,7 +201,7 @@ describe('proxy', () => {
|
||||||
expect(_proxyConnects).toEqual(['postman-echo.com:80'])
|
expect(_proxyConnects).toEqual(['postman-echo.com:80'])
|
||||||
})
|
})
|
||||||
|
|
||||||
it('HttoClient does basic http get request when bypass proxy', async () => {
|
it('HttpClient does basic http get request when bypass proxy', async () => {
|
||||||
process.env['http_proxy'] = _proxyUrl
|
process.env['http_proxy'] = _proxyUrl
|
||||||
process.env['no_proxy'] = 'postman-echo.com'
|
process.env['no_proxy'] = 'postman-echo.com'
|
||||||
const httpClient = new httpm.HttpClient()
|
const httpClient = new httpm.HttpClient()
|
||||||
|
|
Loading…
Reference in New Issue