mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-21 07:09:08 +08:00
Update packages/http-client/__tests__/proxy.test.ts
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user