Skip to content

Commit 7e2e8ce

Browse files
committed
Split prefixes tests snapshots into multiple files
1 parent bdd47cb commit 7e2e8ce

17 files changed

+7342
-7311
lines changed

tests/__snapshots__/prefixes.test.ts.snap

Lines changed: 0 additions & 7305 deletions
This file was deleted.

tests/__snapshots__/prefixes/combined/custom-ltr-and-rtl-prefix-as-arrays.snapshot

Lines changed: 660 additions & 0 deletions
Large diffs are not rendered by default.

tests/__snapshots__/prefixes/combined/custom-ltr-and-rtl-prefix.snapshot

Lines changed: 650 additions & 0 deletions
Large diffs are not rendered by default.

tests/__snapshots__/prefixes/combined/custom-ltr-rtl-and-both-prefix-as-arrays-and-process-urls-true.snapshot

Lines changed: 672 additions & 0 deletions
Large diffs are not rendered by default.

tests/__snapshots__/prefixes/combined/prefix-selector-transformer-with-custom-ltr-and-rtl-prefixes.snapshot

Lines changed: 650 additions & 0 deletions
Large diffs are not rendered by default.

tests/__snapshots__/prefixes/combined/prefix-selector-transformer-with-default-prefixes.snapshot

Lines changed: 650 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`[[Mode: diff]] Prefixes Tests: custom ltrPrefix and rtlPrefix properties as arrays 1`] = `
4+
".test1, .test2 {
5+
background-position: right 10px top 20px;
6+
border-radius: 2px 0 8px 0;
7+
padding-right: 0;
8+
padding-left: 20px;
9+
text-align: right;
10+
transform: translate(50%, 50%);
11+
}
12+
13+
.test3 {
14+
direction: rtl;
15+
}
16+
17+
.test4 {
18+
border-radius: 4px 2px 16px 8px;
19+
text-shadow: red -99px -1px 1px, blue -99px 2px 1px;
20+
}
21+
22+
.test5,
23+
.test6,
24+
.test7 {
25+
background: linear-gradient(-0.25turn, #3F87A6, #EBF8E1, #F69D3C);
26+
border-color: #666 #999 #888 #777;
27+
border-width: 1px 4px 3px 2px;
28+
left: auto;
29+
right: 100px;
30+
transform: translateX(-5px);
31+
}
32+
33+
.test8 {
34+
background: linear-gradient(to right, #333, #333 50%, #EEE 75%, #333 75%);
35+
}
36+
37+
.test9, .test10 {
38+
background: linear-gradient(-217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%),
39+
linear-gradient(-127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%),
40+
linear-gradient(-336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%);
41+
left: auto;
42+
right: 5px;
43+
}
44+
45+
.test11:hover,
46+
.test11:active {
47+
font-family: "Droid Arabic Kufi", Arial, Helvetica;
48+
font-size: 30px;
49+
color: #000;
50+
transform: translateY(10px) scaleX(-1);
51+
padding: 10px 20px;
52+
}
53+
54+
.test16:hover {
55+
padding-right: 0;
56+
padding-left: 20px;
57+
}
58+
59+
.test18 {
60+
padding: 10px 10px 40px 20px;
61+
}
62+
63+
.test18::after {
64+
left: auto;
65+
right: 10px;
66+
}
67+
68+
@media only screen and (min-device-width: 320px) {
69+
.test18 {
70+
padding: 1px 4px 3px 2px;
71+
}
72+
}
73+
74+
.test22 {
75+
right: 5px;
76+
left: 10px;
77+
}
78+
79+
.test24 {
80+
border: 1px solid #000;
81+
border-bottom-color: #666;
82+
}
83+
84+
.test25, .test26-ltr, .test27 {
85+
background-image: url("/icons/icon-r.png")
86+
}
87+
88+
.test26-rtl {
89+
background-image: url("/icons/icon-l.png")
90+
}
91+
92+
.test28-right::before {
93+
background-image: url("/folder/subfolder/arrow-left.png");
94+
}
95+
96+
.testleft30 {
97+
background: url("/folder/subfolder/icon-rtl.png");
98+
}
99+
100+
.test31 {
101+
background-image: url("/icons/icon-right.png");
102+
}
103+
104+
.test32 {
105+
background-image: url("/icons/icon-right.png");
106+
}
107+
108+
.test33 {
109+
left: auto;
110+
right: 10px;
111+
height: 50px;
112+
width: 100px;
113+
}
114+
115+
.example34 {
116+
color: #EFEFEF;
117+
left: 10px;
118+
width: 100%;
119+
}
120+
121+
.example35 {
122+
transform: translate(10px, 20px);
123+
}
124+
125+
.test36 {
126+
border-left: none;
127+
border-right: 1px solid #666;
128+
padding: 10px 20px 10px 5px;
129+
text-align: right;
130+
}
131+
132+
.test37 {
133+
border-left: none;
134+
border-right: 1px solid #666;
135+
padding: 10px 20px 10px 5px;
136+
text-align: right;
137+
}
138+
139+
.test38 {
140+
border-left: none;
141+
border-right: 1px solid #666;
142+
padding: 10px 20px 10px 5px;
143+
text-align: right;
144+
}
145+
146+
.test39 {
147+
margin-left: 0;
148+
margin-right: 10px;
149+
}
150+
151+
.test40 {
152+
left: auto;
153+
right: 5px;
154+
}
155+
156+
.test41 {
157+
left: auto;
158+
right: 10px;
159+
height: 50px;
160+
width: 100px;
161+
}
162+
163+
.test42 {
164+
color: #EFEFEF;
165+
left: 10px;
166+
width: 100%;
167+
}
168+
169+
.test43 {
170+
transform: translate(10px, 20px);
171+
}
172+
173+
@media only screen and (min-device-width: 320px) {
174+
.test46 {
175+
text-align: right;
176+
}
177+
}
178+
179+
@media only screen and (min-device-width: 320px) {
180+
.test48 {
181+
text-align: right;
182+
}
183+
}
184+
185+
:root {
186+
text-align: right;
187+
}
188+
189+
html .test50 {
190+
left: auto;
191+
right: 10px;
192+
}
193+
194+
.test51 {
195+
border-left: none;
196+
border-right: 1px solid #FFF;
197+
border: none;
198+
}"
199+
`;
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`[[Mode: diff]] Prefixes Tests: custom ltrPrefix and rtlPrefix 1`] = `
4+
".test1, .test2 {
5+
background-position: right 10px top 20px;
6+
border-radius: 2px 0 8px 0;
7+
padding-right: 0;
8+
padding-left: 20px;
9+
text-align: right;
10+
transform: translate(50%, 50%);
11+
}
12+
13+
.test3 {
14+
direction: rtl;
15+
}
16+
17+
.test4 {
18+
border-radius: 4px 2px 16px 8px;
19+
text-shadow: red -99px -1px 1px, blue -99px 2px 1px;
20+
}
21+
22+
.test5,
23+
.test6,
24+
.test7 {
25+
background: linear-gradient(-0.25turn, #3F87A6, #EBF8E1, #F69D3C);
26+
border-color: #666 #999 #888 #777;
27+
border-width: 1px 4px 3px 2px;
28+
left: auto;
29+
right: 100px;
30+
transform: translateX(-5px);
31+
}
32+
33+
.test8 {
34+
background: linear-gradient(to right, #333, #333 50%, #EEE 75%, #333 75%);
35+
}
36+
37+
.test9, .test10 {
38+
background: linear-gradient(-217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%),
39+
linear-gradient(-127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%),
40+
linear-gradient(-336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%);
41+
left: auto;
42+
right: 5px;
43+
}
44+
45+
.test11:hover,
46+
.test11:active {
47+
font-family: "Droid Arabic Kufi", Arial, Helvetica;
48+
font-size: 30px;
49+
color: #000;
50+
transform: translateY(10px) scaleX(-1);
51+
padding: 10px 20px;
52+
}
53+
54+
.test16:hover {
55+
padding-right: 0;
56+
padding-left: 20px;
57+
}
58+
59+
.test18 {
60+
padding: 10px 10px 40px 20px;
61+
}
62+
63+
.test18::after {
64+
left: auto;
65+
right: 10px;
66+
}
67+
68+
@media only screen and (min-device-width: 320px) {
69+
.test18 {
70+
padding: 1px 4px 3px 2px;
71+
}
72+
}
73+
74+
.test22 {
75+
right: 5px;
76+
left: 10px;
77+
}
78+
79+
.test24 {
80+
border: 1px solid #000;
81+
border-bottom-color: #666;
82+
}
83+
84+
.test25, .test26-ltr, .test27 {
85+
background-image: url("/icons/icon-r.png")
86+
}
87+
88+
.test26-rtl {
89+
background-image: url("/icons/icon-l.png")
90+
}
91+
92+
.test28-right::before {
93+
background-image: url("/folder/subfolder/arrow-left.png");
94+
}
95+
96+
.testleft30 {
97+
background: url("/folder/subfolder/icon-rtl.png");
98+
}
99+
100+
.test31 {
101+
background-image: url("/icons/icon-right.png");
102+
}
103+
104+
.test32 {
105+
background-image: url("/icons/icon-right.png");
106+
}
107+
108+
.test33 {
109+
left: auto;
110+
right: 10px;
111+
height: 50px;
112+
width: 100px;
113+
}
114+
115+
.example34 {
116+
color: #EFEFEF;
117+
left: 10px;
118+
width: 100%;
119+
}
120+
121+
.example35 {
122+
transform: translate(10px, 20px);
123+
}
124+
125+
.test36 {
126+
border-left: none;
127+
border-right: 1px solid #666;
128+
padding: 10px 20px 10px 5px;
129+
text-align: right;
130+
}
131+
132+
.test37 {
133+
border-left: none;
134+
border-right: 1px solid #666;
135+
padding: 10px 20px 10px 5px;
136+
text-align: right;
137+
}
138+
139+
.test38 {
140+
border-left: none;
141+
border-right: 1px solid #666;
142+
padding: 10px 20px 10px 5px;
143+
text-align: right;
144+
}
145+
146+
.test39 {
147+
margin-left: 0;
148+
margin-right: 10px;
149+
}
150+
151+
.test40 {
152+
left: auto;
153+
right: 5px;
154+
}
155+
156+
.test41 {
157+
left: auto;
158+
right: 10px;
159+
height: 50px;
160+
width: 100px;
161+
}
162+
163+
.test42 {
164+
color: #EFEFEF;
165+
left: 10px;
166+
width: 100%;
167+
}
168+
169+
.test43 {
170+
transform: translate(10px, 20px);
171+
}
172+
173+
@media only screen and (min-device-width: 320px) {
174+
.test46 {
175+
text-align: right;
176+
}
177+
}
178+
179+
@media only screen and (min-device-width: 320px) {
180+
.test48 {
181+
text-align: right;
182+
}
183+
}
184+
185+
:root {
186+
text-align: right;
187+
}
188+
189+
html .test50 {
190+
left: auto;
191+
right: 10px;
192+
}
193+
194+
.test51 {
195+
border-left: none;
196+
border-right: 1px solid #FFF;
197+
border: none;
198+
}"
199+
`;

0 commit comments

Comments
 (0)