1
0
Fork 0

Update packages/http-client/__tests__/proxy.test.ts

Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
pull/1429/head
Francesco Renzi 2023-05-23 13:10:40 +01:00 committed by GitHub
parent 672c88ec4b
commit bbab4bec57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()