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.

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

describe("Android real-phone navigation contract", () => {
  it("uses browser Back on real phones and only renders fake system nav in PhoneFrame", () => {
    const src = readFileSync(new URL("./android-shell.tsx", import.meta.url), "utf8");
    expect(src).toContain("useAndroidBrowserBack(!showSystemNav, browserLayer)");
    expect(src).toContain("showSystemNav && <NavBar");
    expect(src).toContain('"--android-nav": showSystemNav ? "48px" : "0px"');
  });
});