import { describe, expect, test } from "vitest"; import { cozify } from "../src/utils/sanitizer"; describe("cozify()", async () => { const baseUrl = "https://cozy.pub"; test("should remove scripts", async () => { const html = "

HELLO

"; const result = await cozify(html, baseUrl); expect(result).not.toContain("