Skip to main content
Module

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

πŸ”₯ Static site generator for Deno πŸ¦•
Very Popular
Go to Latest
File
export const snapshot = {};
snapshot[`Copy static files 1`] = `0`;
snapshot[`Copy static files 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], copy: true, 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], }, { copy: true, engines: undefined, ext: ".css", }, { copy: true, engines: undefined, ext: ".copy", }, { copy: [Function], engines: undefined, ext: ".copy2", }, ],}`;
snapshot[`Copy static files 3`] = `[ { dest: "/_headers", remote: undefined, src: "/_headers", }, { dest: "/other/one", remote: undefined, src: "/other/one", }, { dest: "/other/two", remote: undefined, src: "/other/two", }, { dest: "/posts/first-post/assets/inner/inner2/styles.css", remote: undefined, src: "/posts/2022-01-01_first-post/assets/inner/inner2/styles.scss", }, { dest: "/posts/first-post/assets/inner/styles1.css", remote: undefined, src: "/posts/2022-01-01_first-post/assets/inner/styles1.scss", }, { dest: "/posts/first-post/assets/styles.css", remote: undefined, src: "/posts/2022-01-01_first-post/assets/styles.scss", }, { dest: "/subdir/posts/first-post/callback.copy3", remote: undefined, src: "/posts/2022-01-01_first-post/callback.copy2", }, { dest: "/posts/first-post/individual-file", remote: undefined, src: "/posts/2022-01-01_first-post/individual-file", }, { dest: "/subdir/posts/first-post/inner/callback1.copy3", remote: undefined, src: "/posts/2022-01-01_first-post/inner/callback1.copy2", }, { dest: "/subdir/posts/first-post/inner/inner2/callback2.copy3", remote: undefined, src: "/posts/2022-01-01_first-post/inner/inner2/callback2.copy2", }, { dest: "/posts/first-post/inner/inner2/to-copy2.copy", remote: undefined, src: "/posts/2022-01-01_first-post/inner/inner2/to-copy2.copy", }, { dest: "/posts/first-post/inner/to-copy1.copy", remote: undefined, src: "/posts/2022-01-01_first-post/inner/to-copy1.copy", }, { dest: "/posts/first-post/to-copy.copy", remote: undefined, src: "/posts/2022-01-01_first-post/to-copy.copy", }, { dest: "/script/app/main.js", remote: undefined, src: "/script/2022-01-01_app/main.js", }, { dest: "/_redirects", remote: undefined, src: "/static/_redirects", }, { dest: "/one.yes", remote: undefined, src: "/static/one.yes", }, { dest: "/two.yes", remote: undefined, src: "/static/two.yes", }, { dest: "/styles.css", remote: undefined, src: "/styles.css", }, { dest: "/styles/main.css", remote: undefined, src: "/styles/main.css", },]`;