Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
unix committed May 7, 2020
1 parent 07d7858 commit 080ed93
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions components/toast/__tests__/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`UseToast should render different actions 1`] = `
justify-content: center;
text-align: center;
white-space: nowrap;
transition: all 0.2s ease;
transition: all 0.2s ease 0s;
position: relative;
overflow: hidden;
color: #fff;
Expand All @@ -28,10 +28,14 @@ exports[`UseToast should render different actions 1`] = `
cursor: pointer;
pointer-events: auto;
box-shadow: none;
--zeit-ui-button-padding: 0.625rem;
--zeit-ui-button-height: 1.5rem;
--zeit-ui-button-color: #fff;
}
.btn:hover {
color: #000;
--zeit-ui-button-color: #000;
background-color: #fff;
border-color: #000;
cursor: pointer;
Expand All @@ -40,7 +44,7 @@ exports[`UseToast should render different actions 1`] = `
transform: translate3d(0px, 0px, 0px);
}
.text {
.btn :global(.text) {
position: relative;
z-index: 1;
display: inline-flex;
Expand All @@ -51,9 +55,9 @@ exports[`UseToast should render different actions 1`] = `
top: -1px;
}
.text :global(p),
.text :global(pre),
.text :global(div) {
.btn :global(.text p),
.btn :global(.text pre),
.btn :global(.text div) {
margin: 0;
}
</style></button><button class=\\"btn \\"><div class=\\"text\\">remove</div><style>
Expand All @@ -74,7 +78,7 @@ exports[`UseToast should render different actions 1`] = `
justify-content: center;
text-align: center;
white-space: nowrap;
transition: all 0.2s ease;
transition: all 0.2s ease 0s;
position: relative;
overflow: hidden;
color: #666;
Expand All @@ -83,10 +87,14 @@ exports[`UseToast should render different actions 1`] = `
cursor: pointer;
pointer-events: auto;
box-shadow: none;
--zeit-ui-button-padding: 0.625rem;
--zeit-ui-button-height: 1.5rem;
--zeit-ui-button-color: #666;
}
.btn:hover {
color: #000;
--zeit-ui-button-color: #000;
background-color: #fff;
border-color: #000;
cursor: pointer;
Expand All @@ -95,7 +103,7 @@ exports[`UseToast should render different actions 1`] = `
transform: translate3d(0px, 0px, 0px);
}
.text {
.btn :global(.text) {
position: relative;
z-index: 1;
display: inline-flex;
Expand All @@ -106,9 +114,9 @@ exports[`UseToast should render different actions 1`] = `
top: -1px;
}
.text :global(p),
.text :global(pre),
.text :global(div) {
.btn :global(.text p),
.btn :global(.text pre),
.btn :global(.text div) {
margin: 0;
}
</style></button></div><style>
Expand Down

0 comments on commit 080ed93

Please sign in to comment.