import { afterEach, beforeEach, describe, expect, it } from "vitest"; import { renderSanitizedMarkdown, sanitizeIconSvg, sanitizeMarkedHtml } from "./html-sanitizer"; describe("html sanitizer", () => { it("removes active HTML and unsafe URLs from marked output", () => { const html = sanitizeMarkedHtml(`