import { CheckIcon } from "@chopin/icons"; import { IconLabel } from "@chopin/visuals"; import { expect, test } from "bun:test"; import { renderToStaticMarkup } from "react-dom/server"; test("renders a visible label and decorative icon through the public API", () => { let html = renderToStaticMarkup( , ); expect(html).toStartWith("Ready"); }); test("renders every semantic tone", () => { for (let tone of ["neutral", "success", "warning", "danger"] as const) { let html = renderToStaticMarkup( , ); expect(html).toContain(`data-tone="${tone}"`); } });