diff --git a/scripts/e2e.config.ts b/scripts/e2e.config.ts index dc10e32f7a..8d4711ed4a 100644 --- a/scripts/e2e.config.ts +++ b/scripts/e2e.config.ts @@ -18,7 +18,7 @@ const resolved = await Effect.gen(function* () { const path = yield* Path.Path; const env = yield* HostProcess.Environment; const scripts = yield* path.fromFileUrl(new URL(".", import.meta.url)); - const home = path.resolve(scripts, "../.t3/scenarios"); + const home = path.resolve(scripts, env.T3_SCENARIO_HOME ?? "../.t3/scenarios"); // A pooled device reaches this machine over the tailnet, not localhost. const host = yield* run("tailscale", ["ip", "-4"]).pipe( Effect.map((result) => result.stdout.trim().split("\n")[0] ?? ""),