Update proxy.test.ts

This commit is contained in:
Felix Luthman
2023-01-27 18:26:23 +01:00
committed by GitHub
parent 586ad49adf
commit 0e925a6dc5

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