import { NodeServices } from "@effect/platform-node" import { afterAll, beforeAll, expect, test } from "bun:test" import { Effect } from "effect" import fs from "node:fs/promises" import os from "node:os" import path from "node:path" import { ShellEnvironment } from "../src/shell-environment" // A stand-in login shell: it records every invocation, applies "rc file" exports, then runs the // probe script exactly as `$SHELL -ilc