Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

575 B
Raw Blame
import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";

describe("graph-level routing ownership", () => {
  it("owns the obstacle scene above individual routed edges", () => {
    const canvas = readFileSync("components/shared/graph-canvas.tsx", "utf8");
    const edge = readFileSync("components/shared/graph-routed-edge.tsx", "utf8");
    expect(canvas).toContain("<GraphRoutingProvider");
    expect(edge).not.toContain("useNodes");
    expect(edge).not.toContain("useEdges");
    expect(edge).toContain("routing.cache.resolve");
  });
});