reset snapshots

This commit is contained in:
Rick van Lieshout 2022-09-05 00:08:04 +02:00
parent 1ec208cf70
commit 51a7c10229
15 changed files with 344 additions and 1153 deletions

View File

@ -20,7 +20,7 @@ const jestConfig: Config.InitialOptions = {
".+\\.(css|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"identity-obj-proxy",
"^gatsby-page-utils/(.*)$": "gatsby-page-utils/dist/$1",
"^gatsby-page-utils/(.*)$": "gatsby-page-utils/$1",
"^gatsby-core-utils/(.*)$": "gatsby-core-utils/dist/$1",
"^gatsby-plugin-utils/(.*)$": [
"gatsby-plugin-utils/dist/$1",

1413
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,7 @@
"lint:staged": "lint-staged",
"lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .",
"prepare": "husky install",
"reset-snapshots": "find -type f -name '*.snap*' -delete && npm run test",
"semantic-release": "semantic-release",
"serve": "gatsby serve",
"start": "npm run clean && gatsby develop",

View File

@ -3,16 +3,13 @@
exports[`Author renders correctly 1`] = `
<div>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
Written by:
<a
href="https://www.twitter.com/#"
rel="noopener noreferrer"
target="_blank"
href="/pages/about"
>
<strong>
John Doe
Rick van Lieshout
</strong>
on Twitter
</a>
</p>
</div>

View File

@ -31,16 +31,13 @@ exports[`Post renders correctly 1`] = `
</div>
<div>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
Written by:
<a
href="https://www.twitter.com/#"
rel="noopener noreferrer"
target="_blank"
href="/pages/about"
>
<strong>
John Doe
Rick van Lieshout
</strong>
on Twitter
</a>
</p>
</div>

View File

@ -9,11 +9,9 @@ exports[`Author renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
`;

View File

@ -11,12 +11,10 @@ exports[`Sidebar renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h1>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -12,12 +12,10 @@ exports[`CategoriesTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -12,12 +12,10 @@ exports[`CategoryTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -12,12 +12,10 @@ exports[`IndexTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h1>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -12,12 +12,10 @@ exports[`NotFoundTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -12,12 +12,10 @@ exports[`PageTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -32,16 +32,13 @@ exports[`PostTemplate renders correctly 1`] = `
</div>
<div>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
Written by:
<a
href="https://www.twitter.com/#"
rel="noopener noreferrer"
target="_blank"
href="/pages/about"
>
<strong>
John Doe
Rick van Lieshout
</strong>
on Twitter
</a>
</p>
</div>

View File

@ -12,12 +12,10 @@ exports[`TagTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>

View File

@ -12,12 +12,10 @@ exports[`TagsTemplate renders correctly 1`] = `
<a
href="/"
>
John Doe
Rick van Lieshout
</a>
</h2>
<p>
Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.
</p>
<p />
</div>
<nav>
<ul>