From 0f302d0f1141063d02bccf1c55f56db70d54703d Mon Sep 17 00:00:00 2001 From: Jerry Lin Date: Wed, 24 Jun 2026 12:53:32 -0700 Subject: [PATCH] Fix no_proxy test --- 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 ff438910c6b..c455a6b2804 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);