Skip to content

Commit 8cd5c0f

Browse files
jerrylin3321Jerry Lin
andauthored
Fix no_proxy test (#28131)
Co-authored-by: Jerry Lin <jerrysf@google.com>
1 parent df99735 commit 8cd5c0f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/core/src/utils/fetch.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ describe('fetch utils', () => {
261261
it('should fall back to no_proxy if NO_PROXY is not set', () => {
262262
const proxyUrl = 'http://proxy.example.com';
263263
const noProxyValue = 'localhost,127.0.0.1';
264+
vi.stubEnv('NO_PROXY', undefined);
264265
vi.stubEnv('no_proxy', noProxyValue);
265266

266267
setGlobalProxy(proxyUrl);

0 commit comments

Comments
 (0)