import { describe, expect, it } from "vitest"; import { digestIndicatorText } from "../web/components/digest-indicator.js"; describe("ui digest indicator", () => { it("describes pending digest state as a compact chip", () => { expect(digestIndicatorText(0)).toBe("digest 0"); expect(digestIndicatorText(3)).toBe("digest 3"); }); });