From 595136120b13c3bbc2953e06667d0209aaac83cc Mon Sep 17 00:00:00 2001 From: Iqro-dev Date: Thu, 19 Dec 2024 17:40:59 +0100 Subject: [PATCH] fix(tests): update snapshots --- tests/snapshots/item-card.spec.tsx.snap | 12 +- tests/snapshots/item-name.spec.tsx.snap | 8 +- tests/snapshots/item-top-card.spec.tsx.snap | 56 ++--- tests/snapshots/items-list.spec.tsx.snap | 228 ++++++++++---------- tests/snapshots/items-section.spec.tsx.snap | 136 ++++++------ 5 files changed, 220 insertions(+), 220 deletions(-) diff --git a/tests/snapshots/item-card.spec.tsx.snap b/tests/snapshots/item-card.spec.tsx.snap index 41fc50c0..712eccb4 100644 --- a/tests/snapshots/item-card.spec.tsx.snap +++ b/tests/snapshots/item-card.spec.tsx.snap @@ -26,7 +26,7 @@ exports[`ItemCard > should match snapshot as album 1`] = ` href="/artist/undefined" >

Album 1

@@ -86,7 +86,7 @@ exports[`ItemCard > should match snapshot as album 1`] = ` href="/artist/undefined" >

Album 1

@@ -203,7 +203,7 @@ exports[`ItemCard > should match snapshot as artist 1`] = ` href="/artist/123" >

Darkthrone

@@ -263,7 +263,7 @@ exports[`ItemCard > should match snapshot as artist 1`] = ` href="/artist/123" >

Darkthrone

@@ -380,7 +380,7 @@ exports[`ItemCard > should match snapshot as track 1`] = ` href="/track/123" >

Track 1

@@ -447,7 +447,7 @@ exports[`ItemCard > should match snapshot as track 1`] = ` href="/track/123" >

Track 1

diff --git a/tests/snapshots/item-name.spec.tsx.snap b/tests/snapshots/item-name.spec.tsx.snap index c1bfc2ee..51426b33 100644 --- a/tests/snapshots/item-name.spec.tsx.snap +++ b/tests/snapshots/item-name.spec.tsx.snap @@ -10,7 +10,7 @@ exports[`ItemName > should match snapshot 1`] = ` href="" >

A Dark Forgotten Past

@@ -23,7 +23,7 @@ exports[`ItemName > should match snapshot 1`] = ` href="" >

A Dark Forgotten Past

@@ -93,7 +93,7 @@ exports[`ItemName > should match snapshot with long name 1`] = ` href="" >

Dark Medieval Times (Remastered 2021)

@@ -106,7 +106,7 @@ exports[`ItemName > should match snapshot with long name 1`] = ` href="" >

Dark Medieval Times (Remastered 2021)

diff --git a/tests/snapshots/item-top-card.spec.tsx.snap b/tests/snapshots/item-top-card.spec.tsx.snap index e54b52e9..86327051 100644 --- a/tests/snapshots/item-top-card.spec.tsx.snap +++ b/tests/snapshots/item-top-card.spec.tsx.snap @@ -35,14 +35,14 @@ exports[`ItemTopCard > should match snapshot as album 1`] = ` href="/artist/undefined" >

Album 1

should match snapshot as album 1`] = ` href="/artist/undefined" >

Album 1

should match snapshot as artist 1`] = ` href="/artist/123" >

Darkthrone

should match snapshot as artist 1`] = ` href="/artist/123" >

Darkthrone

should match snapshot as top 2 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -394,7 +394,7 @@ exports[`ItemTopCard > should match snapshot as top 2 1`] = `
should match snapshot as top 2 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -547,7 +547,7 @@ exports[`ItemTopCard > should match snapshot as top 2 1`] = `
should match snapshot as top 3 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -757,7 +757,7 @@ exports[`ItemTopCard > should match snapshot as top 3 1`] = `
should match snapshot as top 3 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -916,7 +916,7 @@ exports[`ItemTopCard > should match snapshot as top 3 1`] = `
should match snapshot as track 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1132,7 +1132,7 @@ exports[`ItemTopCard > should match snapshot as track 1`] = `
should match snapshot as track 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1188,7 +1188,7 @@ exports[`ItemTopCard > should match snapshot as track 1`] = `
should match snapshot as track with play time 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1301,7 +1301,7 @@ exports[`ItemTopCard > should match snapshot as track with play time 1`] = `
should match snapshot as track with play time 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1382,7 +1382,7 @@ exports[`ItemTopCard > should match snapshot as track with play time 1`] = `
should match snapshot as track with play time and plays 1 href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1520,7 +1520,7 @@ exports[`ItemTopCard > should match snapshot as track with play time and plays 1
should match snapshot as track with play time and plays 1 href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1601,7 +1601,7 @@ exports[`ItemTopCard > should match snapshot as track with play time and plays 1
should match snapshot with playTime and top 1`] = ` class="flex h-full flex-col-reverse justify-center gap-4 md:w-2/3 md:flex-row" >
should match snapshot with playTime and top 1`] = ` href="/album/undefined?highlighted-track-id=2" >

Track 1

@@ -728,7 +728,7 @@ exports[`ItemsList > should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -811,7 +811,7 @@ exports[`ItemsList > should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = ` href="/album/undefined?highlighted-track-id=3" >

Track 1

@@ -898,7 +898,7 @@ exports[`ItemsList > should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = ` href="/album/undefined?highlighted-track-id=123" >

Track 1

@@ -1000,7 +1000,7 @@ exports[`ItemsList > should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = ` href="/album/undefined?highlighted-track-id=2" >

Track 1

@@ -1089,7 +1089,7 @@ exports[`ItemsList > should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = ` href="/album/undefined?highlighted-track-id=3" >

Track 1

@@ -1178,7 +1178,7 @@ exports[`ItemsList > should match snapshot with playTime and top 1`] = `
should match snapshot with playTime and top 1`] = `