Files
pi-agent-integrated/pi/packages/coding-agent/test/test-network-env.ts

7 lines
208 B
TypeScript

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);
}