Skip to main content
Module

x/lume/tests/__snapshots__/base_path.test.ts.snap

πŸ”₯ Static site generator for Deno πŸ¦•
Very Popular
Go to Latest
File
export const snapshot = {};
snapshot[`base_path plugin 1`] = `1`;
snapshot[`base_path plugin 2`] = `{ formats: [ { engines: 1, ext: ".tmpl.ts", pageLoader: [AsyncFunction: module], }, { engines: 1, ext: ".tmpl.js", pageLoader: [AsyncFunction: module], }, { engines: undefined, ext: ".tmpl.json", pageLoader: [AsyncFunction: json], }, { dataLoader: [AsyncFunction: json], engines: undefined, ext: ".json", }, { engines: 1, ext: ".md", pageLoader: [AsyncFunction: text], }, { componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".js", }, { componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".ts", }, { componentLoader: [AsyncFunction: text], engines: 1, ext: ".njk", includesPath: "_includes", pageLoader: [AsyncFunction: text], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yaml", pageLoader: [AsyncFunction: yaml], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yml", pageLoader: [AsyncFunction: yaml], }, ],}`;
snapshot[`base_path plugin 3`] = `[]`;
snapshot[`base_path plugin 4`] = `{ content: '<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link id="style-1" rel="stylesheet" href="/blog/style.css"> <link id="style-2" rel="stylesheet" href="other-styles.css"> <link id="style-3" rel="stylesheet" href="./other-styles.css"> <link id="preload-1" rel="preload" href="/blog/fonts/cicle_fina-webfont.woff2" as="font" type="font/woff2" crossorigin=""> <link id="preload-2" rel="preload" as="image" imagesrcset="/blog/image-400.jpg 400w, /blog/image-800.jpg 800w, /blog/image-1600.jpg 1600w" imagesizes="100vw"></head><body> <a id="link-1" href="/blog/">Home</a> <a id="link-2" href="/blog/">Blog</a> <img id="img-1" src="/blog/img/avatar.png"> <img id="img-2" srcset="/blog/image-400.jpg 400w, /blog/image-800.jpg 800w, /blog/image-1600.jpg 1600w" sizes="100vw" alt=""> <picture> <source id="source-1" srcset="/blog/image.jpeg x1, /blog/image-big.jpeg"> </picture> <script id="script-1" src="/blog/script.js"></script></body></html>', data: { content: '<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link id="style-1" rel="stylesheet" href="/style.css"> <link id="style-2" rel="stylesheet" href="other-styles.css"> <link id="style-3" rel="stylesheet" href="./other-styles.css"> <link id="preload-1" rel="preload" href="/fonts/cicle_fina-webfont.woff2" as="font" type="font/woff2" crossorigin> <link id="preload-2" rel="preload" as="image" imagesrcset="/image-400.jpg 400w, /image-800.jpg 800w, /image-1600.jpg 1600w" imagesizes="100vw"></head><body> <a id="link-1" href="/">Home</a> <a id="link-2" href="/blog/">Blog</a> <img id="img-1" src="/img/avatar.png"> <img id="img-2" srcset="/image-400.jpg 400w, /image-800.jpg 800w, /image-1600.jpg 1600w" sizes="100vw" alt=""> <picture> <source id="source-1" srcset="/blog/image.jpeg x1, /blog/image-big.jpeg"> </picture> <script id="script-1" src="/script.js"></script></body></html>', date: 1970-01-01T00:00:00.000Z, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/", }, dest: { ext: ".html", path: "/index", }, src: { ext: ".njk", path: "/index", remote: undefined, },}`;