import { describe, it, expect } from "vitest"; import { formatIid } from "@/lib/format"; describe("formatIid", () => { it("formats mr_review with ! prefix", () => { expect(formatIid("mr_review", 847)).toBe("!847"); }); it("formats mr_authored with ! prefix", () => { expect(formatIid("mr_authored", 123)).toBe("!123"); }); it("formats issue with # prefix", () => { expect(formatIid("issue", 42)).toBe("#42"); }); it("formats manual task with # prefix", () => { expect(formatIid("manual", 1)).toBe("#1"); }); });