deno.land / x / lume@v2.1.4 / tests / og_images.test.ts

og_images.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import ogImages from "../plugins/og_images.ts";
Deno.test("OpenGraph images", async (t) => { const site = getSite({ src: "og_images", });
site.use(ogImages({ cache: false, }));
await build(site); await assertSiteSnapshot(t, site);});
lume

Version Info

Tagged at
7 months ago