From 8cd5c0f71f5c9f39aa1b5db06c4b9ee8b5b91d14 Mon Sep 17 00:00:00 2001 From: Jerry Lin <44830071+jerrylin3321@users.noreply.github.com> Date: Thu, 25 Jun 2026 13:35:41 -0700 Subject: [PATCH] Fix no_proxy test (#28131) Co-authored-by: Jerry Lin --- packages/core/src/utils/fetch.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/utils/fetch.test.ts b/packages/core/src/utils/fetch.test.ts index ff438910c6..c455a6b280 100644 --- a/packages/core/src/utils/fetch.test.ts +++ b/packages/core/src/utils/fetch.test.ts @@ -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);