Skip to content

Commit

Permalink
Update proxy.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlut committed Jan 27, 2023
1 parent 586ad49 commit 0e925a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/http-client/__tests__/proxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 0e925a6

Please sign in to comment.