mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-29 12:47:15 -07:00
Fix no_proxy test (#28131)
Co-authored-by: Jerry Lin <jerrysf@google.com>
This commit is contained in:
@@ -261,6 +261,7 @@ describe('fetch utils', () => {
|
||||
it('should fall back to no_proxy if NO_PROXY is not set', () => {
|
||||
const proxyUrl = 'http://proxy.example.com';
|
||||
const noProxyValue = 'localhost,127.0.0.1';
|
||||
vi.stubEnv('NO_PROXY', undefined);
|
||||
vi.stubEnv('no_proxy', noProxyValue);
|
||||
|
||||
setGlobalProxy(proxyUrl);
|
||||
|
||||
Reference in New Issue
Block a user