The best way to control Claude Code, Codex and more from any computer or phone
test(web): load the runtime graph before the relay telemetry cases time out (#37938)
Julius Marminge committed
Nov 16, 2026 at 22:03 UTC
e10ea0c937328c9b5b035b476415ce4ff2c56824
1 file changed
+3
apps/web/src/lib/runtime.test.ts
+3
@@ -2,6 +2,9 @@ import { afterEach, describe, expect, it, vi } from "@effect/vitest";
2
import { withRelayClientTracing } from "@t3tools/shared/relayTracing";
3
import * as Effect from "effect/Effect";
4
import * as Tracer from "effect/Tracer";
5
+// Load the runtime's module graph once at collection, outside the per-test timeout;
6
+// each case re-evaluates it from that cache after vi.resetModules().
7
+import "./runtime";
8
9
afterEach(() => {
10
vi.unstubAllEnvs();