Files
dev/packages/coding-agent/test/test-network-env.ts
alexion 497034b682 Squashed 'src/pi/' content from commit d981de122
git-subtree-dir: src/pi
git-subtree-split: d981de1229ef899957bbe968bc8dcda02a21f477
2026-09-14 10:21:58 -04:00

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