mirror of
https://github.com/luckyyzh/pi-agent-integrated.git
synced 2026-10-03 02:59:35 +00:00
7 lines
208 B
TypeScript
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);
|
|
}
|