Skip to content

Commit 6859662

Browse files
committed
update snapshots due to tailwind v3/v4 differences
1 parent d6c36e2 commit 6859662

File tree

7 files changed

+59
-59
lines changed

7 files changed

+59
-59
lines changed

app/__snapshots__/Footer.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`renders footer unchanged 1`] = `
44
<div>
55
<footer
66
class="bg-white dark:bg-zinc-900 "
77
>
88
<div
9-
class="max-w-screen-xl p-4 mx-auto space-y-8 overflow-hidden sm:px-6 lg:px-8 w-full flex flex-col justify-center items-center "
9+
class="max-w-(--breakpoint-xl) p-4 mx-auto space-y-8 overflow-hidden sm:px-6 lg:px-8 w-full flex flex-col justify-center items-center "
1010
>
1111
<nav
1212
class="flex flex-wrap justify-center -mx-5 -my-2"
@@ -31,7 +31,7 @@ exports[`renders footer unchanged 1`] = `
3131
Beam status
3232
</a>
3333
<a
34-
class="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
34+
class="block py-2 px-3 rounded-sm text-black dark:text-white hover:text-white hover:bg-zinc-800"
3535
href="https://github.com/ISISComputingGroup/WebDashboard"
3636
>
3737
<svg

app/__snapshots__/Navbar.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`renders navbar unchanged 1`] = `
44
<div>
@@ -32,26 +32,26 @@ exports[`renders navbar unchanged 1`] = `
3232
class="md:flex hidden gap-2"
3333
>
3434
<a
35-
class="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
35+
class="block py-2 px-3 rounded-sm text-black dark:text-white hover:text-white hover:bg-zinc-800"
3636
href="/"
3737
>
3838
Home
3939
</a>
4040
<a
41-
class="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
41+
class="block py-2 px-3 rounded-sm text-black dark:text-white hover:text-white hover:bg-zinc-800"
4242
href="/instruments"
4343
>
4444
Instrument Status
4545
</a>
4646
<a
47-
class="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
47+
class="block py-2 px-3 rounded-sm text-black dark:text-white hover:text-white hover:bg-zinc-800"
4848
href="https://www.isis.stfc.ac.uk/Pages/Beam-Status.aspx"
4949
target="_blank"
5050
>
5151
Beam status
5252
</a>
5353
<a
54-
class="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
54+
class="block py-2 px-3 rounded-sm text-black dark:text-white hover:text-white hover:bg-zinc-800"
5555
href="https://github.com/ISISComputingGroup/WebDashboard"
5656
>
5757
<svg

app/__snapshots__/page.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`renders main page unchanged 1`] = `
44
<div>
@@ -22,7 +22,7 @@ exports[`renders main page unchanged 1`] = `
2222
</h1>
2323
2424
<h1
25-
class="block w-full mt-2 py-2 text-transparent bg-clip-text leading-12 bg-gradient-to-r from-green-400 to-purple-500 lg:inline"
25+
class="block w-full mt-2 py-2 text-transparent bg-clip-text leading-12 bg-linear-to-r from-green-400 to-purple-500 lg:inline"
2626
>
2727
Web Dashboard
2828
</h1>
@@ -35,10 +35,10 @@ exports[`renders main page unchanged 1`] = `
3535
class="relative inline-flex group"
3636
>
3737
<div
38-
class="absolute transition-all duration-1000 opacity-70 -inset-px bg-gradient-to-r from-[#44BCFF] via-[#FF44EC] to-[#FF675E] rounded-xl blur-lg group-hover:opacity-100 group-hover:-inset-1 group-hover:duration-200 animate-tilt"
38+
class="absolute transition-all duration-1000 opacity-70 -inset-px bg-linear-to-r from-[#44BCFF] via-[#FF44EC] to-[#FF675E] rounded-xl blur-lg group-hover:opacity-100 group-hover:-inset-1 group-hover:duration-200 animate-tilt"
3939
/>
4040
<a
41-
class="relative inline-flex gap-4 items-center justify-center px-8 py-4 text-lg font-bold text-gray-900 dark:text-white transition-all duration-200 bg-white dark:bg-gray-900 font-pj rounded-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-300 dark:focus:ring-gray-900"
41+
class="relative inline-flex gap-4 items-center justify-center px-8 py-4 text-lg font-bold text-gray-900 dark:text-white transition-all duration-200 bg-white dark:bg-gray-900 font-pj rounded-xl focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-gray-300 dark:focus:ring-gray-900"
4242
href="/instruments"
4343
role="button"
4444
target="_self"

app/components/__snapshots__/InstrumentWallCard.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`renders instrumentwallcard unchanged 1`] = `
44
<div>
55
<div
66
class="flex"
77
>
88
<a
9-
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
9+
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-xs border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
1010
bg-[#90EE90] text-black"
1111
href="/instrument?name=Instrument"
1212
>
@@ -35,7 +35,7 @@ exports[`renders instrumentwallcard unchanged when runstate is unknown 1`] = `
3535
class="flex"
3636
>
3737
<a
38-
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
38+
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-xs border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
3939
bg-[#F08080] text-black"
4040
href="/instrument?name=Instrument1"
4141
>

app/components/__snapshots__/ScienceGroup.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`renders sciencegroup unchanged 1`] = `
44
<div>
@@ -17,7 +17,7 @@ exports[`renders sciencegroup unchanged 1`] = `
1717
class="flex"
1818
>
1919
<a
20-
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
20+
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-xs border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
2121
bg-[#90EE90] text-black"
2222
href="/instrument?name=Instrument"
2323
>
@@ -41,7 +41,7 @@ exports[`renders sciencegroup unchanged 1`] = `
4141
class="flex"
4242
>
4343
<a
44-
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
44+
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-xs border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4545
bg-[#DAA520] text-black"
4646
href="/instrument?name=Instrument2"
4747
>

app/components/__snapshots__/TargetStation.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`renders targetstation unchanged 1`] = `
44
<div>
@@ -19,7 +19,7 @@ exports[`renders targetstation unchanged 1`] = `
1919
class="flex"
2020
>
2121
<a
22-
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
22+
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-xs border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
2323
bg-green-900 text-white"
2424
href="/instrument?name=Instrument"
2525
>
@@ -43,7 +43,7 @@ exports[`renders targetstation unchanged 1`] = `
4343
class="flex"
4444
>
4545
<a
46-
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
46+
class="flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-xs border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4747
bg-[#FFFF00] text-black"
4848
href="/instrument?name=Instrument2"
4949
>

0 commit comments

Comments
 (0)