Skip to content

Commit

Permalink
Split string-map tests snapshots into multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Apr 11, 2024
1 parent 0af92b5 commit bd5ea0c
Show file tree
Hide file tree
Showing 18 changed files with 7,606 additions and 5,934 deletions.
5,929 changes: 0 additions & 5,929 deletions tests/__snapshots__/string-map.test.ts.snap

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`[[Mode: diff]] String Map Tests: custom no-valid string map and processUrls: true (different lenghts) 1`] = `
".test1, .test2 {
background: url("/folder/subfolder/icons/rtl/chevron-right.png");
background-color: #FFF;
background-position: right 10px top 20px;
border-radius: 2px 0 8px 0;
padding-right: 0;
padding-left: 20px;
text-align: right;
transform: translate(50%, 50%);
}

.test3 {
direction: rtl;
}

.test4 {
border-radius: 4px 2px 16px 8px;
text-shadow: red -99px -1px 1px, blue -99px 2px 1px;
}

.test5,
.test6,
.test7 {
background: linear-gradient(-0.25turn, #3F87A6, #EBF8E1, #F69D3C);
border-color: #666 #999 #888 #777;
border-width: 1px 4px 3px 2px;
left: auto;
right: 100px;
transform: translateX(-5px);
}

.test8 {
background: linear-gradient(to right, #333, #333 50%, #EEE 75%, #333 75%);
}

.test9, .test10 {
background: linear-gradient(-217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%),
linear-gradient(-127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%),
linear-gradient(-336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%);
left: auto;
right: 5px;
}

.test11:hover,
.test11:active {
font-family: "Droid Arabic Kufi", Arial, Helvetica;
font-size: 30px;
color: #000;
transform: translateY(10px) scaleX(-1);
padding: 10px 20px;
}

.test16:hover {
padding-right: 0;
padding-left: 20px;
}

.test18 {
padding: 10px 10px 40px 20px;
}

.test18::after {
left: auto;
right: 10px;
}

@media only screen and (min-device-width: 320px) {
.test18 {
padding: 1px 4px 3px 2px;
}
}

.test22 {
right: 5px;
left: 10px;
}

.test24 {
border: 1px solid #000;
border-bottom-color: #666;
}

.test25, .test26-ltr, .test27 {
background-image: url("/icons/icon-r.png")
}

.test26-rtl {
background-image: url("/icons/icon-l.png")
}

.test28-left::before {
background-image: url("/folder/subfolder/arrow-right.png");
}

.test28-right::before {
background-image: url("/folder/subfolder/arrow-left.png");
}

.testleft30 {
background: url("/folder/subfolder/icon-rtl.png");
}

.testright30 {
background: url("/folder/subfolder/icon-ltr.png");
}

.test31 {
background-image: url("/icons/icon-right.png");
}

.test32 {
background-image: url("/icons/icon-right.png");
}

.test33 {
left: auto;
right: 10px;
height: 50px;
width: 100px;
}

.example34 {
color: #EFEFEF;
left: 10px;
width: 100%;
}

.example35 {
transform: translate(10px, 20px);
}

.test36 {
border-left: none;
border-right: 1px solid #666;
padding: 10px 20px 10px 5px;
text-align: right;
}

.test37 {
border-left: none;
border-right: 1px solid #666;
padding: 10px 20px 10px 5px;
text-align: right;
}

.test38 {
border-left: none;
border-right: 1px solid #666;
padding: 10px 20px 10px 5px;
text-align: right;
}

.test39 {
margin-left: 0;
margin-right: 10px;
}

.test40 {
left: auto;
right: 5px;
}

.test41 {
left: auto;
right: 10px;
height: 50px;
width: 100px;
}

.test42 {
color: #EFEFEF;
left: 10px;
width: 100%;
}

.test43 {
transform: translate(10px, 20px);
}

@media only screen and (min-device-width: 320px) {
.test46 {
text-align: right;
}
}

@media only screen and (min-device-width: 320px) {
.test48 {
text-align: right;
}
}

:root {
text-align: right;
}

html .test50 {
left: auto;
right: 10px;
}

.test51 {
border-left: none;
border-right: 1px solid #FFF;
border: none;
}"
`;
Loading

0 comments on commit bd5ea0c

Please # to comment.