Consistent layout actions #772
sveltekit.yml
on: pull_request
unit-test
2m 7s
check
1m 36s
Annotations
5 errors
check
Process completed with exit code 1.
|
src/lib/components/accounts/tests/UserMenu.test.ts > UserMenu:
src/lib/components/accounts/tests/UserMenu.test.ts#L8
Error: Snapshot `UserMenu 1` mismatched
- Expected
+ Received
@@ -4,11 +4,11 @@
class="anchor svelte-v01npp"
role="button"
tabindex="0"
>
<span
- class="sidebarItem container svelte-1i964q1"
+ class="sidebarItem container svelte-8l7as"
role="button"
tabindex="0"
title="Open Menu"
>
<div
@@ -21,11 +21,11 @@
/>
</div>
<span
- class="label svelte-1i964q1"
+ class="label svelte-8l7as"
>
<span
class="name"
>
Chris Amico
@@ -60,11 +60,11 @@
<div
class="menu svelte-1tmvwy9"
role="menu"
>
<a
- class="sidebarItem container svelte-1i964q1"
+ class="sidebarItem container svelte-8l7as"
href="https://dev.squarelet.com"
target="_blank"
title=""
>
<svg
@@ -79,20 +79,20 @@
d="M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z"
/>
</svg>
<span
- class="label svelte-1i964q1"
+ class="label svelte-8l7as"
>
Account settings
</span>
</a>
<span
- class="sidebarItem container svelte-1i964q1 hover"
+ class="sidebarItem container svelte-8l7as hover"
role="button"
tabindex="0"
title=""
>
<svg
@@ -107,20 +107,20 @@
d="M12.212 3.02a1.753 1.753 0 0 0-2.478.003l-5.83 5.83a3.007 3.007 0 0 0-.88 2.127c0 .795.315 1.551.88 2.116.567.567 1.333.89 2.126.89.79 0 1.548-.321 2.116-.89l5.48-5.48a.75.75 0 0 1 1.061 1.06l-5.48 5.48a4.492 4.492 0 0 1-3.177 1.33c-1.2 0-2.345-.487-3.187-1.33a4.483 4.483 0 0 1-1.32-3.
|
src/lib/components/addons/tests/AddOnsNavigation.test.ts > AddOnsNavigation:
src/lib/components/addons/tests/AddOnsNavigation.test.ts#L7
Error: Snapshot `AddOnsNavigation 1` mismatched
- Expected
+ Received
@@ -19,11 +19,11 @@
>
<div
style="display: contents; --hover-background: var(--blue-2);"
>
<a
- class="sidebarItem container svelte-1i964q1 active"
+ class="sidebarItem container svelte-8l7as active"
href="/add-ons/"
title=""
>
<svg
class="octicon octicon-infinity"
@@ -38,11 +38,11 @@
d="M8 6.984c.59-.533 1.204-1.066 1.825-1.493.797-.548 1.7-.991 2.675-.991C14.414 4.5 16 6.086 16 8s-1.586 3.5-3.5 3.5c-.975 0-1.878-.444-2.675-.991-.621-.427-1.235-.96-1.825-1.493-.59.533-1.204 1.066-1.825 1.493-.797.547-1.7.991-2.675.991C1.586 11.5 0 9.914 0 8s1.586-3.5 3.5-3.5c.975 0 1.878.443 2.675.991.621.427 1.235.96 1.825 1.493ZM9.114 8c.536.483 1.052.922 1.56 1.273.704.483 1.3.727 1.826.727 1.086 0 2-.914 2-2 0-1.086-.914-2-2-2-.525 0-1.122.244-1.825.727-.51.35-1.025.79-1.561 1.273ZM3.5 6c-1.086 0-2 .914-2 2 0 1.086.914 2 2 2 .525 0 1.122-.244 1.825-.727.51-.35 1.025-.79 1.561-1.273-.536-.483-1.052-.922-1.56-1.273C4.621 6.244 4.025 6 3.5 6Z"
/>
</svg>
<span
- class="label svelte-1i964q1"
+ class="label svelte-8l7as"
>
All
</span>
</a>
@@ -51,11 +51,11 @@
<div
style="display: contents; --hover-background: var(--orange-2);"
>
<a
- class="sidebarItem container svelte-1i964q1"
+ class="sidebarItem container svelte-8l7as"
href="/add-ons/?active=true"
title=""
>
<div
style="display: contents; --fill: var(--orange-3);"
@@ -75,11 +75,11 @@
/>
</svg>
</div>
<span
- class="label svelte-1i964q1"
+ class="label svelte-8l7as"
>
Pinned
</span>
</a>
@@ -88,11 +88,11 @@
<div
style="display: contents; --hover-background: var(--yellow-2);"
>
<a
- class="sidebarItem container svelte-1i964q1"
+ class="sidebarItem container svelte-8l7as"
href="/add-ons/?featured=true"
title=""
>
<svg
class="octicon octicon-star-fill"
@@ -107,11 +107,11 @@
d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Z"
/>
</svg>
<span
- class="label svelte-1i964q1"
+ class="label svelte-8l7as"
>
Featured
</span>
</a>
@@ -120,11 +120,11 @@
<div
style="display: contents; --hover-background: var(--green-2);"
>
<a
- class="sidebarItem container svelte-1i964q1"
+ class="sidebarItem container svelte-8l7as"
href="/add-ons/?premium=true"
title=""
>
<div
style="display: contents; --fill: var(--green-3);"
@@ -150,11 +150,11 @@
/>
</svg>
</div>
<span
- class="label svelte-1i964q1"
+ class="label svelte-8l7as"
>
Premium
</span>
</a>
@@ -167,124 +167,124 @@
>
<div
style="display: contents; --color: var(--gray-4);"
>
<span
- class="sidebarItem container svelte-1i964q1 small"
+ class="sidebarItem container svelte-8l7as small"
role="button"
tabindex="0"
title=""
>
<span
- class="label svelte-1i
|
src/lib/components/documents/tests/DocumentListItem.test.ts > DocumentListItem > renders:
src/lib/components/documents/tests/DocumentListItem.test.ts#L13
Error: Snapshot `DocumentListItem > renders 1` mismatched
- Expected
+ Received
@@ -1,38 +1,38 @@
<div>
<a
- class="document-list-item svelte-zn4dyg"
+ class="document-list-item svelte-1ravpmh"
href="https://www.dev.documentcloud.org/documents/24002098-quarterly-reports-created-pursuant-to-the-letter-from-the-national-archives-and-records-administration-dated-june-1-2018/"
>
<div
- class="thumbnail svelte-zn4dyg"
+ class="thumbnail svelte-1ravpmh"
>
<img
alt="Page 1, Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018"
- class="svelte-zn4dyg"
+ class="svelte-1ravpmh"
height="77.64705882352942px"
loading="lazy"
src="https://s3.documentcloud.org/documents/24002098/pages/quarterly-reports-created-pursuant-to-the-letter-from-the-national-archives-and-records-administration-dated-june-1-2018-p1-thumbnail.gif"
width="60px"
/>
</div>
<div
- class="documentInfo svelte-zn4dyg"
+ class="documentInfo svelte-1ravpmh"
>
<div
- class="head svelte-zn4dyg"
+ class="head svelte-1ravpmh"
>
<h3
- class="title svelte-zn4dyg"
+ class="title svelte-1ravpmh"
>
Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018
</h3>
<div
- class="access svelte-zn4dyg"
+ class="access svelte-1ravpmh"
>
<div
class="access public svelte-o63adk"
>
<svg
@@ -51,11 +51,11 @@
</div>
</div>
</div>
<p
- class="meta svelte-zn4dyg"
+ class="meta svelte-1ravpmh"
>
20 pages
-
@@ -64,10 +64,10 @@
Mon Oct 02 2023
</p>
<div
- class="data svelte-zn4dyg"
+ class="data svelte-1ravpmh"
/>
</div>
</a>
</div>
❯ src/lib/components/documents/tests/DocumentListItem.test.ts:13:30
|
unit-test
Process completed with exit code 1.
|