fix(tests): update snapshots, remove gatsby-page-utils from module mapper

This commit is contained in:
Alexander Shelepenok 2022-09-14 20:59:54 +00:00
parent 88ed3b7d03
commit 22003e59c4
5 changed files with 4 additions and 5 deletions

View File

@ -20,7 +20,6 @@ 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-core-utils/(.*)$": "gatsby-core-utils/dist/$1",
"^gatsby-plugin-utils/(.*)$": [
"gatsby-plugin-utils/dist/$1",

View File

@ -7,7 +7,7 @@ exports[`Content renders correctly 1`] = `
</h1>
<div
dangerouslySetInnerHTML={
Object {
{
"__html": "<p>An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.</p>",
}
}

View File

@ -14,7 +14,7 @@ exports[`Post renders correctly 1`] = `
</h1>
<div
dangerouslySetInnerHTML={
Object {
{
"__html": "<p>An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.</p>",
}
}

View File

@ -151,7 +151,7 @@ exports[`PageTemplate renders correctly 1`] = `
<div>
<div
dangerouslySetInnerHTML={
Object {
{
"__html": "<p>An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.</p>",
}
}

View File

@ -15,7 +15,7 @@ exports[`PostTemplate renders correctly 1`] = `
</h1>
<div
dangerouslySetInnerHTML={
Object {
{
"__html": "<p>An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.</p>",
}
}