deno.land / x / lume@v2.1.4 / tests / mdx.test.ts
12345678910111213141516import { assertSiteSnapshot, build, getSite } from "./utils.ts";import mdx from "../plugins/mdx.ts";import jsx from "../plugins/jsx_preact.ts";
Deno.test("Build a mdx site", async (t) => { const site = getSite({ src: "mdx", });
site.use(jsx()); site.use(mdx());
await build(site); await assertSiteSnapshot(t, site);});
Version Info