import { expect, test } from "vitest" test("CTA button snapshot", async () => { const html = `
` document.body.innerHTML = html const ctaButton = document.querySelector("[data-testid='cta']") expect(ctaButton).toBeTruthy() await expect(document.body).toMatchScreenshot("cta-button") })