Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Split prefixes tests snapshots into multiple files
  • Loading branch information
elchininet committed Apr 11, 2024
commit 7e2e8cead47fd9c4d1328d6df868c88bafad0510
7,305 changes: 0 additions & 7,305 deletions tests/__snapshots__/prefixes.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.

Large diffs are not rendered by default.

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

exports[`[[Mode: diff]] Prefixes Tests: custom ltrPrefix and rtlPrefix properties as arrays 1`] = `
".test1, .test2 {
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-right::before {
background-image: url("/folder/subfolder/arrow-left.png");
}

.testleft30 {
background: url("/folder/subfolder/icon-rtl.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;
}"
`;
199 changes: 199 additions & 0 deletions tests/__snapshots__/prefixes/diff/custom-ltr-and-rtl-prefix.snapshot
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`[[Mode: diff]] Prefixes Tests: custom ltrPrefix and rtlPrefix 1`] = `
".test1, .test2 {
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-right::before {
background-image: url("/folder/subfolder/arrow-left.png");
}

.testleft30 {
background: url("/folder/subfolder/icon-rtl.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