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", ".+\\.(css|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": ".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"identity-obj-proxy", "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-core-utils/(.*)$": "gatsby-core-utils/dist/$1",
"^gatsby-plugin-utils/(.*)$": [ "^gatsby-plugin-utils/(.*)$": [
"gatsby-plugin-utils/dist/$1", "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:staged": "lint-staged",
"lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .", "lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .",
"prepare": "husky install", "prepare": "husky install",
"reset-snapshots": "find -type f -name '*.snap*' -delete && npm run test",
"semantic-release": "semantic-release", "semantic-release": "semantic-release",
"serve": "gatsby serve", "serve": "gatsby serve",
"start": "npm run clean && gatsby develop", "start": "npm run clean && gatsby develop",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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