Allow users to customize DocumentListItem #468
test.yml
on: pull_request
unit-test
1m 45s
check
1m 18s
Annotations
2 errors and 2 warnings
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,25 +1,29 @@
<div>
- <a
+ <div
- class="document-list-item svelte-1y641k7"
- 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/"
+ class="document-list-item svelte-1m3ox9s"
+ >
+
+ <div
+ class="document-info svelte-1m3ox9s"
+ >
+ <div
+ class="head svelte-1m3ox9s"
+ >
+ <h3
+ class="title svelte-1m3ox9s"
+ >
+ <a
+ class="document-link title-link svelte-1m3ox9s"
+ 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="documentInfo svelte-1y641k7"
- >
+ >
- <div
- class="head svelte-1y641k7"
- >
- <h3
- class="title svelte-1y641k7"
- >
- Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018
+ Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018
+ </a>
</h3>
<div
- class="access svelte-1y641k7"
+ class="access svelte-1m3ox9s"
>
<div
class="access public svelte-o63adk"
>
<svg
@@ -39,23 +43,33 @@
</div>
</div>
<p
- class="meta svelte-1y641k7"
+ class="meta svelte-1m3ox9s"
+ >
+ <a
+ class="document-link svelte-1m3ox9s"
+ 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/?mode=grid"
- >
+ >
- 20 pages
+ 20 pages
- -
+ </a>
+
+ -
-
+
Mitchell Kotler (MuckRock)
-
Mon Oct 02 2023
</p>
+
<div
- class="data svelte-1y641k7"
- />
+ class="data svelte-1m3ox9s"
+ >
+
+
+ </div>
</div>
- </a>
+ </div>
</div>
❯ src/lib/components/documents/tests/DocumentListItem.test.ts:13:30
|
unit-test
Process completed with exit code 1.
|
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|