Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: updated snapshots for failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 committed Dec 13, 2023
1 parent 12a178f commit f9a4627
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 95 deletions.
4 changes: 2 additions & 2 deletions src/feedback/__snapshots__/AlertList.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`AlertList should be null by default 1`] = `null`;

exports[`AlertList should render messages of each type 1`] = `
Array [
[
<div
className="fade alert-content alert alert-warning show"
dialog="Boo indeed!"
Expand Down Expand Up @@ -158,7 +158,7 @@ Array [
className="fade alert-content alert alert-danger show"
dialog={
<FallbackErrorMessage
values={Object {}}
values={{}}
/>
}
role="alert"
Expand Down
6 changes: 3 additions & 3 deletions src/feedback/__snapshots__/AlertMessage.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports[`AlertMessage should render a userMessage element 1`] = `
className="fade alert-content alert alert-warning show"
dialog={
<span
values={Object {}}
values={{}}
>
Wondrous message!
</span>
Expand All @@ -52,7 +52,7 @@ exports[`AlertMessage should render a userMessage element 1`] = `
className="alert-message-content"
>
<span
values={Object {}}
values={{}}
>
Wondrous message!
</span>
Expand Down Expand Up @@ -81,7 +81,7 @@ exports[`AlertMessage should render a userMessage function 1`] = `
className="fade alert-content alert alert-warning show"
dialog={
<userMessage
values={Object {}}
values={{}}
/>
}
role="alert"
Expand Down
18 changes: 9 additions & 9 deletions src/feedback/data/__snapshots__/redux.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`redux tests should return the default state when appropriate 1`] = `
Object {
"byId": Object {},
"orderedIds": Array [],
{
"byId": {},
"orderedIds": [],
}
`;

exports[`redux tests should return the default state when appropriate 2`] = `
Object {
"byId": Object {},
"orderedIds": Array [],
{
"byId": {},
"orderedIds": [],
}
`;

exports[`redux tests should return the default state when appropriate 3`] = `
Object {
"byId": Object {},
"orderedIds": Array [],
{
"byId": {},
"orderedIds": [],
}
`;
4 changes: 2 additions & 2 deletions src/payment/__snapshots__/AlertCodeMessages.test.jsx.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`EnrollmentCodeQuantityUpdated should render with values 1`] = `
Array [
[
<h6>
We've updated your quantity.
</h6>,
Expand All @@ -12,7 +12,7 @@ Array [
`;

exports[`SingleEnrollmentCodeWarning should render with values 1`] = `
Array [
[
<h6>
Purchasing just for yourself?
</h6>,
Expand Down
Loading

0 comments on commit f9a4627

Please sign in to comment.