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

base_path.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import basePath from "../plugins/base_path.ts";
Deno.test("base_path plugin", async (t) => { const site = getSite({ src: "base_path", location: new URL("https://example.com/blog"), });
site.use(basePath());
await build(site); await assertSiteSnapshot(t, site);});
lume

Version Info

Tagged at
a month ago