mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-05 11:28:05 +08:00
Update proxy.test.ts
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user