Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable tests for 'sri' and 'reading_info' plugins #677

Merged
merged 2 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,82 +3,109 @@ export const snapshot = {};
snapshot[`Reading info plugin 1`] = `
{
formats: [
{
engines: 0,
ext: ".page.toml",
loader: [AsyncFunction: toml],
pageType: "page",
},
{
engines: 1,
ext: ".tmpl.ts",
pageLoader: [AsyncFunction: module],
ext: ".page.ts",
loader: [AsyncFunction: module],
pageType: "page",
},
{
engines: 1,
ext: ".tmpl.js",
pageLoader: [AsyncFunction: module],
ext: ".page.js",
loader: [AsyncFunction: module],
pageType: "page",
},
{
engines: undefined,
ext: ".tmpl.jsonc",
pageLoader: [AsyncFunction: json],
engines: 0,
ext: ".page.jsonc",
loader: [AsyncFunction: json],
pageType: "page",
},
{
engines: undefined,
ext: ".tmpl.json",
pageLoader: [AsyncFunction: json],
engines: 0,
ext: ".page.json",
loader: [AsyncFunction: json],
pageType: "page",
},
{
dataLoader: [AsyncFunction: json],
engines: undefined,
engines: 0,
ext: ".json",
loader: [AsyncFunction: json],
},
{
dataLoader: [AsyncFunction: json],
engines: undefined,
engines: 0,
ext: ".jsonc",
loader: [AsyncFunction: json],
},
{
engines: 1,
ext: ".md",
pageLoader: [AsyncFunction: text],
loader: [AsyncFunction: text],
pageType: "page",
},
{
engines: 1,
ext: ".markdown",
pageLoader: [AsyncFunction: text],
loader: [AsyncFunction: text],
pageType: "page",
},
{
componentLoader: [AsyncFunction: module],
dataLoader: [AsyncFunction: module],
engines: 1,
ext: ".js",
loader: [AsyncFunction: module],
},
{
componentLoader: [AsyncFunction: module],
dataLoader: [AsyncFunction: module],
engines: 1,
ext: ".ts",
loader: [AsyncFunction: module],
},
{
componentLoader: [AsyncFunction: text],
engines: 1,
ext: ".njk",
includesPath: "_includes",
pageLoader: [AsyncFunction: text],
ext: ".vento",
loader: [AsyncFunction: text],
pageType: "page",
},
{
engines: 1,
ext: ".vto",
loader: [AsyncFunction: text],
pageType: "page",
},
{
dataLoader: [AsyncFunction: toml],
engines: 0,
ext: ".toml",
loader: [AsyncFunction: toml],
},
{
dataLoader: [AsyncFunction: yaml],
engines: undefined,
engines: 0,
ext: ".yaml",
pageLoader: [AsyncFunction: yaml],
loader: [AsyncFunction: yaml],
pageType: "page",
},
{
dataLoader: [AsyncFunction: yaml],
engines: undefined,
engines: 0,
ext: ".yml",
pageLoader: [AsyncFunction: yaml],
loader: [AsyncFunction: yaml],
pageType: "page",
},
],
src: [
"/",
"/_includes",
"/_includes/layout.njk",
"/_includes/layout.vto",
"/page.md",
],
}
Expand Down Expand Up @@ -127,6 +154,7 @@ loop on focusing solely on the bottom line.</p>
</html>',
data: {
author: "Óscar Otero",
basename: "page",
children: '<p>Leverage agile frameworks to provide a robust synopsis for high level overviews.
Iterative approaches to corporate strategy foster collaborative thinking to
further the overall value proposition. Organically grow the holistic world view
Expand Down Expand Up @@ -184,13 +212,14 @@ DevOps. Nanotechnology immersion along the information highway will close the
loop on focusing solely on the bottom line.
',
date: [],
layout: "layout.njk",
layout: "layout.vto",
mergedKeys: [
"tags",
],
page: [
"src",
"data",
"asset",
],
paginate: "paginate",
readingInfo: [
Expand All @@ -204,11 +233,10 @@ loop on focusing solely on the bottom line.
url: "/page/",
},
src: {
asset: undefined,
asset: false,
ext: ".md",
path: "/page",
remote: undefined,
slug: "page",
},
},
]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.