First pass at pulling the v1.5 CLI, TUI, and Launcher clients into v2.

This commit is contained in:
Bob Dickinson 2026-06-09 17:38:00 -07:00
commit 467b01edd6

View file

@ -0,0 +1,21 @@
import { describe, it, expect } from "vitest";
import { tabs } from "../src/components/tabsConfig.js";
describe("TUI", () => {
it("exports tabs with expected shape", () => {
expect(Array.isArray(tabs)).toBe(true);
expect(tabs.length).toBeGreaterThan(0);
for (const tab of tabs) {
expect(tab).toHaveProperty("id");
expect(tab).toHaveProperty("label");
expect(tab).toHaveProperty("accelerator");
}
});
it("includes info tab", () => {
const info = tabs.find((t) => t.id === "info");
expect(info).toBeDefined();
expect(info?.label).toBe("Info");
expect(info?.accelerator).toBe("i");
});
});