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

plugins.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import { assertEquals as equals } from "../deps/assert.ts";import { pluginNames } from "../core/utils/lume_config.ts";
const totalPlugins = Array.from(Deno.readDirSync("plugins")).length;
Deno.test("Plugins list in init", () => { equals(pluginNames.length, totalPlugins - 8);
equals(pluginNames, [ "attributes", "base_path", "code_highlight", "date", "decap_cms", "esbuild", "eta", "favicon", "feed", "fff", "filter_pages", "inline", "jsx", "jsx_preact", "katex", "lightningcss", "liquid", "mdx", "metas", "minify_html", "modify_urls", "multilanguage", "nav", "nunjucks", "og_images", "on_demand", "pagefind", "picture", "postcss", "prism", "pug", "reading_info", "redirects", "relations", "relative_urls", "remark", "resolve_urls", "robots", "sass", "sheets", "sitemap", "slugify_urls", "source_maps", "svgo", "tailwindcss", "terser", "transform_images", "toml", "unocss", ]);});
lume

Version Info

Tagged at
7 months ago