Imported as a linear vendor commit so forge rebases do not replay the upstream root tree. git-subtree-dir: third_party/pi git-subtree-split: d981de1229ef899957bbe968bc8dcda02a21f477
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);
|
|
}
|