deno.land / x / lume@v2.1.4 / tests / decap_cms.test.ts
123456789101112131415161718import { assertSiteSnapshot, build, getSite } from "./utils.ts";import decapCMS from "../plugins/decap_cms.ts";
Deno.test("Decap CMS plugin", async (t) => { const site = getSite({ src: "decap_cms", location: new URL("https://example.com"), });
site.use(decapCMS({ local: false, identity: "netlify", }));
await build(site); await assertSiteSnapshot(t, site);});
Version Info