Skip to content

Commit

Permalink
test: Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
flacial committed Jun 10, 2024
1 parent 724e8d6 commit 496645b
Show file tree
Hide file tree
Showing 16 changed files with 158 additions and 70 deletions.
72 changes: 49 additions & 23 deletions __tests__/__snapshots__/storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6207,7 +6207,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -6346,7 +6348,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -6920,15 +6924,19 @@ exports[`Storyshots Components/Footer Footer 1`] = `
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>
`;

exports[`Storyshots Components/Footer Footer With Class 1`] = `
<footer
className="fw-light text-center py-5 bg-white text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>
`;

Expand Down Expand Up @@ -11440,7 +11448,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -11563,7 +11573,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -12215,7 +12227,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -15961,7 +15975,7 @@ exports[`Storyshots Components/ReviewCard Active Card 1`] = `
}
>
<div
title="April 22, 2018 12:55 PM"
title="April 22, 2018 4:55 PM"
>
3 years ago
</div>
Expand Down Expand Up @@ -17421,7 +17435,7 @@ exports[`Storyshots Components/ReviewCard No Last Name 1`] = `
}
>
<div
title="April 22, 2018 12:55 PM"
title="April 22, 2018 4:55 PM"
>
3 years ago
</div>
Expand Down Expand Up @@ -18879,7 +18893,7 @@ exports[`Storyshots Components/ReviewCard With Long Comment 1`] = `
}
>
<div
title="April 22, 2018 12:55 PM"
title="April 22, 2018 4:55 PM"
>
3 years ago
</div>
Expand Down Expand Up @@ -20337,7 +20351,7 @@ exports[`Storyshots Components/ReviewCard Without Comment 1`] = `
}
>
<div
title="April 22, 2018 12:55 PM"
title="April 22, 2018 4:55 PM"
>
3 years ago
</div>
Expand Down Expand Up @@ -21795,7 +21809,7 @@ exports[`Storyshots Components/ReviewCard Without Username 1`] = `
}
>
<div
title="April 22, 2018 12:55 PM"
title="April 22, 2018 4:55 PM"
>
3 years ago
</div>
Expand Down Expand Up @@ -23225,7 +23239,7 @@ exports[`Storyshots Components/ReviewStatus Accepted 1`] = `
<div
className="ms-1"
>
accepted submission on January 1, 1970 12:00 AM.
accepted submission on January 1, 1970 4:00 AM.
</div>
</div>
<hr />
Expand Down Expand Up @@ -23268,7 +23282,7 @@ exports[`Storyshots Components/ReviewStatus Accepted Without Comment 1`] = `
<div
className="ms-1"
>
accepted submission on January 1, 1970 12:00 AM.
accepted submission on January 1, 1970 4:00 AM.
</div>
</div>
</div>
Expand Down Expand Up @@ -23344,7 +23358,7 @@ exports[`Storyshots Components/ReviewStatus Overwritten Reviewer 1`] = `
<div
className="ms-1"
>
Student has overwritten this submission on January 1, 1970 12:00 AM.
Student has overwritten this submission on January 1, 1970 4:00 AM.
</div>
</div>
</div>
Expand Down Expand Up @@ -23382,7 +23396,7 @@ exports[`Storyshots Components/ReviewStatus Overwritten Student 1`] = `
<div
className="ms-1"
>
You have overwritten this submission on January 1, 1970 12:00 AM.
You have overwritten this submission on January 1, 1970 4:00 AM.
</div>
</div>
</div>
Expand Down Expand Up @@ -23421,7 +23435,7 @@ exports[`Storyshots Components/ReviewStatus Rejected 1`] = `
<div
className="ms-1"
>
requested changes on January 1, 1970 12:00 AM.
requested changes on January 1, 1970 4:00 AM.
</div>
</div>
<hr />
Expand Down Expand Up @@ -24444,7 +24458,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -25970,7 +25986,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -27496,7 +27514,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -29022,7 +29042,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -29166,7 +29188,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down Expand Up @@ -30121,7 +30145,9 @@ Array [
<footer
className="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2021
GarageScript
</footer>,
]
`;
Expand Down
4 changes: 3 additions & 1 deletion __tests__/pages/__snapshots__/404.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ exports[`404 Error Page should render 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
4 changes: 3 additions & 1 deletion __tests__/pages/__snapshots__/500.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ exports[`500 Error Page should render 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
4 changes: 3 additions & 1 deletion __tests__/pages/__snapshots__/_app.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ exports[`MyApp component should render Login component passed in as prop 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
8 changes: 6 additions & 2 deletions __tests__/pages/__snapshots__/_error.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ exports[`_error page Should capture error when component is loading 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
Expand Down Expand Up @@ -231,7 +233,9 @@ exports[`_error page Should return Error 500 component 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
8 changes: 6 additions & 2 deletions __tests__/pages/__snapshots__/curriculum.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,9 @@ exports[`Curriculum Page Should render with basic dummy data 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
Expand Down Expand Up @@ -3547,7 +3549,9 @@ exports[`Curriculum Page Should render with lessonStatus data 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
8 changes: 6 additions & 2 deletions __tests__/pages/__snapshots__/forgotpassword.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ exports[`ForgotPassword Page Should render invalid user/email form on error 1`]
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
Expand Down Expand Up @@ -397,7 +399,9 @@ exports[`ForgotPassword Page Should render password reset instructions on succes
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
4 changes: 3 additions & 1 deletion __tests__/pages/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ exports[`Index Page Should render index page 1`] = `
<footer
class="fw-light text-center py-5 bg-white text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
12 changes: 9 additions & 3 deletions __tests__/pages/__snapshots__/reset.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ exports[`ResetPassword Page Should display server error on 401 status code 1`] =
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
Expand Down Expand Up @@ -227,7 +229,9 @@ exports[`ResetPassword Page Should render alert on error 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
Expand Down Expand Up @@ -341,7 +345,9 @@ exports[`ResetPassword Page Should render confirm success on success 1`] = `
<footer
class="mt-5 fw-light text-center pb-5 text-muted"
>
© Copyright 2022 GarageScript
© Copyright
2024
GarageScript
</footer>
</div>
`;
Loading

0 comments on commit 496645b

Please sign in to comment.