import { WORKSPACE_SECTIONS, workspaceSection } from "./applicationWorkspace";

test("workspace navigation rejects removed and unknown sections", () => {
  expect(WORKSPACE_SECTIONS.map((section) => section.key)).not.toContain("portfolio");
  expect(WORKSPACE_SECTIONS.map((section) => section.key)).not.toContain("notes");
  expect(workspaceSection("match")).toBe("match");
  expect(workspaceSection("portfolio")).toBe("overview");
});
