11 lines
348 B
TypeScript
11 lines
348 B
TypeScript
import { renderToStaticMarkup } from "react-dom/server";
|
|
import { describe, expect, it } from "vitest";
|
|
import { CmsInfoPopup } from "@/components/cms-info-popup";
|
|
|
|
describe("CmsInfoPopup", () => {
|
|
it("renders the footer trigger", () => {
|
|
const html = renderToStaticMarkup(<CmsInfoPopup />);
|
|
expect(html).toContain("CMS Info");
|
|
});
|
|
});
|