import { ensureFileRegexMatches, ensureHtmlElements } from "../../verify.ts";
import { testRender } from "../render/render.ts";
import { crossref } from "./utils.ts";
const listingsQmd = crossref("listings.qmd", "html");
testRender(listingsQmd.input, "html", false, [
ensureHtmlElements(listingsQmd.output.outputPath, [
"div#lst-customers.listing",
]),
ensureFileRegexMatches(listingsQmd.output.outputPath, [
/Listing 1/,
/Listing 1: Customers Query/,
], [
/\?@sec-/,
]),
]);