Skip to content

Commit

Permalink
update snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemh committed Nov 9, 2023
1 parent 3300750 commit 60b6a60
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`CloseButton should render with just required props passed 1`] = `
type="button"
>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Close
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`LinkButton should render with many props assigned 1`] = `
>
Test
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ValueCard should render with required props 1`] = `
<article
className="Card !justify-start max-w-[400px] h-[400px] p-8 overflow-y-auto"
className="items-center bg-white [&_svg]:fill-secondary text-secondary flex flex-col flex-nowrap justify-around m-4 min-h-[100px] min-w-[100px] p-6 shadow-md focus-visible:outline-none !justify-start max-w-[400px] h-[400px] p-8 overflow-y-auto"
>
<h3
className="text-center underline"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`Content should render with many props assigned 1`] = `
id="testing-link"
>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Scroll Link for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,22 @@

exports[`ErrorDisplay should render with just required props 1`] = `
<div
className="bg-themeGray w-full h-full"
className="h-screen text-white bg-[url(\\"/static/images/TankFlip.gif\\")] flex flex-col justify-center w-full bg-cover items-center"
>
<div
className="h-[45vh] md:h-full text-white bg-[url(\\"/static/images/TankFlip.gif\\")] flex flex-col justify-center w-full bg-cover items-center"
className="text-center my-4 mx-auto"
>
<div
className="text-center my-4 mx-auto"
<h1
className="text-6xl text-white"
>
<h1
className="text-6xl text-white"
>
404
!
</h1>
<p
className="text-2xl text-white"
>
We're so ashamed. You definitely weren't supposed to see this...
</p>
</div>
404
!
</h1>
<p
className="text-2xl text-white"
>
We're so ashamed. You definitely weren't supposed to see this...
</p>
</div>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`FeaturedJobItem should render with many props assigned 1`] = `
Experienced React Engineer
</h6>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down Expand Up @@ -99,7 +99,7 @@ exports[`FeaturedJobItem should render with required props 1`] = `
DevOps Engineer
</h6>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ exports[`RegistrationForm should render with required props 1`] = `
>
Operation Code's Code of Conduct.
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`Heading should render with required props 1`] = `
id="test-link"
>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Scroll Link for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`Modal should render with many props assigned 1`] = `
type="button"
>
<span
class="ScreenReaderOnly"
class="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Close
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`OutboundLink should render with required props 1`] = `
>
Test
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`JoinSection should render 1`] = `
id="join-our-thriving-community-link"
>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Scroll Link for
Expand Down Expand Up @@ -61,7 +61,7 @@ exports[`JoinSection should render 1`] = `
>
Never heard of Slack before?
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ exports[`SocialMediaItem should render with required props 1`] = `
target="_blank"
>
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Operation Code's
Facebook
</span>
<svg />
<span
className="ScreenReaderOnly"
className="sr-only"
data-testid="SCREEN_READER_ONLY"
>
Opens in new window
Expand Down

0 comments on commit 60b6a60

Please sign in to comment.