1
0
Fork 0

Update proxy.test.ts

pull/1223/head
Felix Luthman 2023-01-27 18:26:23 +01:00 committed by GitHub
parent 586ad49adf
commit 0e925a6dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ describe('proxy', () => {
}) })
it('checkBypass returns true if host with leading dot in no_proxy', () => { it('checkBypass returns true if host with leading dot in no_proxy', () => {
process.env['no_proxy'] = '.myserver.com' process.env['no_proxy'] = '.myserver.com'
const bypass = pm.checkBypass(new URL('https://myserver.com')) const bypass = pm.checkBypass(new URL('https://myserver.com'))
expect(bypass).toBeTruthy() expect(bypass).toBeTruthy()
}) })