mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
6 lines
208 B
TypeScript
6 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);
|
|
}
|