Merge commit '67b361f0e99135c578d5764c915b413f457dd67a' as 'third_party/pi'
This commit is contained in:
6
third_party/pi/packages/coding-agent/test/test-network-env.ts
vendored
Normal file
6
third_party/pi/packages/coding-agent/test/test-network-env.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { vi } from "vitest";
|
||||
|
||||
/** Enable network code paths for tests that replace external I/O with local fixtures or mocks. */
|
||||
export function allowNetwork(): void {
|
||||
vi.stubEnv("PI_OFFLINE", undefined);
|
||||
}
|
||||
Reference in New Issue
Block a user