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.

635 B
Raw Blame
import { readFileSync, existsSync } from "node:fs";
import { expect, it } from "vitest";
it("keeps the same local mono typeface and root variable without global preloading", () => {
  const source = readFileSync("app/mono-font.ts", "utf8");
  expect(source).toContain("preload: false");
  expect(source).toContain('variable: "--font-geist-mono"');
  expect(source).toContain('display: "swap"');
  expect(source).not.toContain("next/font/google");
  expect(existsSync("node_modules/geist/dist/fonts/geist-mono/GeistMono-Variable.woff2")).toBe(true);
  expect(readFileSync("app/layout.tsx", "utf8")).toContain("GeistMono.variable");
});