Skip to main content
Module

x/lume/tests/base_path.test.ts

πŸ”₯ Static site generator for Deno πŸ¦•
Very Popular
Go to Latest
File
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);});