Skip to content

Commit

Permalink
update button test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
evansloan committed Jul 30, 2023
1 parent 08c2b95 commit f15c5a2
Showing 1 changed file with 14 additions and 26 deletions.
40 changes: 14 additions & 26 deletions src/components/elements/__snapshots__/Button.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,54 +1,47 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Button component should render with external link "https://example.com" 1`] = `
<a
href="https://example.com"
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
>
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
externalLink="https://example.com"
title="test"
<a
href="https://example.com"
>
<div
className="flex justify-around items-center"
>
test
</div>
</button>
</a>
</a>
</button>
`;

exports[`Button component should render with external link "https://runelite.net/" 1`] = `
<a
href="https://runelite.net/"
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
>
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
externalLink="https://runelite.net/"
title="test"
<a
href="https://runelite.net/"
>
<div
className="flex justify-around items-center"
>
test
</div>
</button>
</a>
</a>
</button>
`;

exports[`Button component should render with icon "discord" 1`] = `
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
icon="discord.png"
iconAlt="discord"
title="test"
>
<div
className="flex justify-around items-center"
>
<img
alt="discord"
className="w-[50px]"
className="w-[40px]"
src="discord.png"
/>
test
Expand All @@ -59,16 +52,13 @@ exports[`Button component should render with icon "discord" 1`] = `
exports[`Button component should render with icon "github" 1`] = `
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
icon="github.png"
iconAlt="github"
title="test"
>
<div
className="flex justify-around items-center"
>
<img
alt="github"
className="w-[50px]"
className="w-[40px]"
src="github.png"
/>
test
Expand All @@ -79,7 +69,6 @@ exports[`Button component should render with icon "github" 1`] = `
exports[`Button component should render with title "Search" 1`] = `
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
title="Search"
>
<div
className="flex justify-around items-center"
Expand All @@ -92,7 +81,6 @@ exports[`Button component should render with title "Search" 1`] = `
exports[`Button component should render with title "Show Options" 1`] = `
<button
className="p-2 btn-standard border-black border-2 text-white text-shadow "
title="Show Options"
>
<div
className="flex justify-around items-center"
Expand Down

0 comments on commit f15c5a2

Please sign in to comment.