mirror of https://github.com/actions/toolkit
Update proxy.test.ts
parent
586ad49adf
commit
0e925a6dc5
|
@ -152,7 +152,7 @@ describe('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'))
|
||||
expect(bypass).toBeTruthy()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue