Skip to content

Commit

Permalink
test(button): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
matheushdsbr committed Oct 25, 2023
1 parent 465b145 commit 2340dbf
Show file tree
Hide file tree
Showing 7 changed files with 1,606 additions and 3,413 deletions.
57 changes: 3 additions & 54 deletions packages/yoga/src/Banner/web/__snapshots__/Banner.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -221,17 +221,6 @@ exports[`<Banner /> should match snapshot with button 1`] = `
border-radius: 8px;
}
.c6 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
<div>
<div
class="c0"
Expand All @@ -248,13 +237,7 @@ exports[`<Banner /> should match snapshot with button 1`] = `
<button
class="c3 c4 c5"
>
<div
class="c6"
>
<span>
Action
</span>
</div>
Action
</button>
</div>
</div>
Expand Down Expand Up @@ -635,28 +618,6 @@ exports[`<Banner /> should match snapshot with two action buttons 1`] = `
border-radius: 8px;
}
.c7 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c8 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
<div>
<div
class="c0"
Expand All @@ -678,24 +639,12 @@ exports[`<Banner /> should match snapshot with two action buttons 1`] = `
<button
class="c4 c5 c6"
>
<div
class="c7"
>
<span>
Primary Action
</span>
</div>
Primary Action
</button>
<button
class="c4 c5 "
>
<div
class="c8"
>
<span>
Secondary Action
</span>
</div>
Secondary Action
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,6 @@ exports[`<BottomSheet /> should match snapshot 1`] = `
width: 100%;
}
.c11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
<body>
<div />
<div
Expand Down Expand Up @@ -227,13 +216,7 @@ exports[`<BottomSheet /> should match snapshot 1`] = `
<button
class="c10"
>
<div
class="c11"
>
<span>
Ok, got it
</span>
</div>
Ok, got it
</button>
</footer>
</section>
Expand Down
Loading

0 comments on commit 2340dbf

Please sign in to comment.