Skip to content

Commit

Permalink
chore(tests): snaps updated
Browse files Browse the repository at this point in the history
  • Loading branch information
leonid.polukhin committed Oct 17, 2023
1 parent 5fd871f commit f7f65de
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ exports[`Test Info Card snapshot test when property value provided 1`] = `
text-align: center;
}
.c2 {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
@media (hover:hover) and (pointer:fine) {
.c0:hover {
background: var(--eds_interactive_primary__hover_alt,rgba(222,237,238,1));
Expand Down Expand Up @@ -144,7 +150,7 @@ exports[`Test Info Card snapshot test when property value provided 1`] = `
>
<svg
aria-hidden="true"
class=""
class="c2"
fill="currentColor"
height="24px"
viewBox="0 0 24 24"
Expand All @@ -157,7 +163,6 @@ exports[`Test Info Card snapshot test when property value provided 1`] = `
d="m7 14.5 5-5 5 5H7Z"
data-testid="eds-icon-path"
fill-rule="evenodd"
height="24"
/>
</svg>
</span>
Expand Down Expand Up @@ -268,7 +273,7 @@ exports[`Test Info Card snapshot test when property value provided 1`] = `
>
<svg
aria-hidden="true"
class=""
class="c2"
fill="currentColor"
height="24px"
viewBox="0 0 24 24"
Expand All @@ -281,7 +286,6 @@ exports[`Test Info Card snapshot test when property value provided 1`] = `
d="m7 14.5 5-5 5 5H7Z"
data-testid="eds-icon-path"
fill-rule="evenodd"
height="24"
/>
</svg>
</span>
Expand Down Expand Up @@ -465,6 +469,12 @@ exports[`Test Info Card snapshot test with no props 1`] = `
text-align: center;
}
.c2 {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
@media (hover:hover) and (pointer:fine) {
.c0:hover {
background: var(--eds_interactive_primary__hover_alt,rgba(222,237,238,1));
Expand Down Expand Up @@ -508,7 +518,7 @@ exports[`Test Info Card snapshot test with no props 1`] = `
>
<svg
aria-hidden="true"
class=""
class="c2"
fill="currentColor"
height="24px"
viewBox="0 0 24 24"
Expand All @@ -521,7 +531,6 @@ exports[`Test Info Card snapshot test with no props 1`] = `
d="m7 14.5 5-5 5 5H7Z"
data-testid="eds-icon-path"
fill-rule="evenodd"
height="24"
/>
</svg>
</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`test layers settings button snapshot test 1`] = `
.c0 {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
<div
class="css-mk8rzy"
>
Expand All @@ -12,7 +18,7 @@ exports[`test layers settings button snapshot test 1`] = `
>
<svg
aria-hidden="true"
class=""
class="c0"
fill="currentColor"
height="24px"
viewBox="0 0 24 24"
Expand All @@ -25,7 +31,6 @@ exports[`test layers settings button snapshot test 1`] = `
d="M19.169 3c-.26 0-.51.1-.71.29l-8.96 8.96 2.75 2.75 8.96-8.96a.996.996 0 0 0 0-1.41l-1.34-1.34c-.2-.2-.45-.29-.7-.29ZM7.499 16c.55 0 1 .45 1 1 0 1.1-.9 2-2 2-.17 0-.33-.02-.5-.05.31-.55.5-1.21.5-1.95 0-.55.45-1 1-1Zm-3 1c0-1.66 1.34-3 3-3s3 1.34 3 3c0 2.21-1.79 4-4 4-1.51 0-3.08-.78-4-2 .84 0 2-.69 2-2Z"
data-testid="eds-icon-path"
fill-rule="evenodd"
height="24"
/>
</svg>
<span
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`test 'layers' button snapshot test 1`] = `
.c0 {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
<div
class="css-1c35s4m"
id="layers-button-view_1"
Expand All @@ -13,7 +19,7 @@ exports[`test 'layers' button snapshot test 1`] = `
>
<svg
aria-hidden="true"
class=""
class="c0"
fill="currentColor"
height="24px"
viewBox="0 0 24 24"
Expand All @@ -26,7 +32,6 @@ exports[`test 'layers' button snapshot test 1`] = `
d="m12 16.465 7.36-5.73L21 9.465l-9-7-9 7 1.63 1.27 7.37 5.73Zm-.01 2.54-7.37-5.73L3 14.535l9 7 9-7-1.63-1.27-7.38 5.74Zm5.75-9.54L12 4.995l-5.74 4.47 5.74 4.47 5.74-4.47Z"
data-testid="eds-icon-path"
fill-rule="evenodd"
height="24"
/>
</svg>
<span
Expand All @@ -37,6 +42,12 @@ exports[`test 'layers' button snapshot test 1`] = `
`;

exports[`test 'layers' button test empty MapState/specbase 1`] = `
.c0 {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
<div
class="css-1c35s4m"
id="layers-button-view_1"
Expand All @@ -49,7 +60,7 @@ exports[`test 'layers' button test empty MapState/specbase 1`] = `
>
<svg
aria-hidden="true"
class=""
class="c0"
fill="currentColor"
height="24px"
viewBox="0 0 24 24"
Expand All @@ -62,7 +73,6 @@ exports[`test 'layers' button test empty MapState/specbase 1`] = `
d="m12 16.465 7.36-5.73L21 9.465l-9-7-9 7 1.63 1.27 7.37 5.73Zm-.01 2.54-7.37-5.73L3 14.535l9 7 9-7-1.63-1.27-7.38 5.74Zm5.75-9.54L12 4.995l-5.74 4.47 5.74 4.47 5.74-4.47Z"
data-testid="eds-icon-path"
fill-rule="evenodd"
height="24"
/>
</svg>
<span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ exports[`Test Toggle Input snapshot test 1`] = `
vertical-align: middle;
grid: [input] 1fr / [input] 1fr;
place-items: center;
isolation: isolate;
}
.c4 {
Expand Down

0 comments on commit f7f65de

Please sign in to comment.