Skip to content

Commit

Permalink
chore: update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed May 28, 2023
1 parent f4111fb commit 3186028
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
8 changes: 2 additions & 6 deletions config/jest/setupTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ if (fs.existsSync(testEnvFile)) {
global.PARAGON = {
version: '1.0.0',
themeUrls: {
core: {
outputChunkName: 'core',
},
core: 'core.min.css',
variants: {
light: {
outputChunkName: 'light',
},
light: 'light.min.css',
},
},
};
26 changes: 16 additions & 10 deletions example/src/__snapshots__/App.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -107,37 +107,43 @@ exports[`Basic test should render 1`] = `
<h2>
Paragon
</h2>
<h3>
Exposed Theme CSS
</h3>
<ul>
<li>
<a
href="/core.css"
href="/core.min.css"
rel="noopener noreferrer"
target="_blank"
>
core.css
core.min.css
</a>
</li>
<li>
<a
href="/light.css"
href="/light.min.css"
rel="noopener noreferrer"
target="_blank"
>
light.css
light.min.css
</a>
</li>
</ul>
<h3>
Contents of
<code>
PARAGON
</code>
global variable
</h3>
<pre>
{
"version": "1.0.0",
"themeUrls": {
"core": {
"outputChunkName": "core"
},
"core": "core.min.css",
"variants": {
"light": {
"outputChunkName": "light"
}
"light": "light.min.css"
}
}
}
Expand Down

0 comments on commit 3186028

Please sign in to comment.