-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate snapshots tests in different files
- Loading branch information
1 parent
6f11e29
commit 760a4dd
Showing
155 changed files
with
43,993 additions
and
42,037 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
60 changes: 60 additions & 0 deletions
60
tests/__snapshots__/aliases-variables/combined/aliases-default.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Variables Tests: aliases default 1`] = ` | ||
":root { | ||
--small-padding: 2px 4px 8px 16px; | ||
--large-padding: 4px 8px 16px 32px; | ||
--custom-margin: 2px; | ||
--small-margin: 2px 4px 8px 16px; | ||
--large-margin: 4px 8px 16px 32px; | ||
} | ||
|
||
.test1 { | ||
margin: var(--small-margin); | ||
padding: var(--small-padding); | ||
} | ||
|
||
.test1.large { | ||
margin: var(--large-margin); | ||
padding: var(--large-padding); | ||
} | ||
|
||
[dir="ltr"] .test1.large { | ||
left: 10px; | ||
} | ||
|
||
[dir="rtl"] .test1.large { | ||
right: 10px; | ||
} | ||
|
||
.test2 { | ||
margin: var(--custom-margin); | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 20px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 40px) | ||
; | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 40px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="ltr"] .test4 { | ||
margin-right: env(safe-area-inset-right, 10px); | ||
margin-left: env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="rtl"] .test4 { | ||
margin-left: env(safe-area-inset-left, 10px); | ||
margin-right: env(safe-area-inset-right, 20px); | ||
}" | ||
`; |
70 changes: 70 additions & 0 deletions
70
tests/__snapshots__/aliases-variables/combined/aliases-map.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Variables Tests: aliases map 1`] = ` | ||
":root { | ||
--custom-margin: 2px; | ||
} | ||
|
||
[dir="ltr"]:root { | ||
--small-padding: 2px 4px 8px 16px; | ||
--large-padding: 4px 8px 16px 32px; | ||
--small-margin: 2px 4px 8px 16px; | ||
--large-margin: 4px 8px 16px 32px; | ||
} | ||
|
||
[dir="rtl"]:root { | ||
--small-padding: 2px 16px 8px 4px; | ||
--large-padding: 4px 32px 16px 8px; | ||
--small-margin: 2px 16px 8px 4px; | ||
--large-margin: 4px 32px 16px 8px; | ||
} | ||
|
||
.test1 { | ||
margin: var(--small-margin); | ||
padding: var(--small-padding); | ||
} | ||
|
||
.test1.large { | ||
margin: var(--large-margin); | ||
padding: var(--large-padding); | ||
} | ||
|
||
[dir="ltr"] .test1.large { | ||
left: 10px; | ||
} | ||
|
||
[dir="rtl"] .test1.large { | ||
right: 10px; | ||
} | ||
|
||
.test2 { | ||
margin: var(--custom-margin); | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 20px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 40px) | ||
; | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 40px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="ltr"] .test4 { | ||
margin-right: env(safe-area-inset-right, 10px); | ||
margin-left: env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="rtl"] .test4 { | ||
margin-left: env(safe-area-inset-left, 10px); | ||
margin-right: env(safe-area-inset-right, 20px); | ||
}" | ||
`; |
70 changes: 70 additions & 0 deletions
70
tests/__snapshots__/aliases-variables/combined/process-env-false.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Variables Tests: processEnv = false 1`] = ` | ||
":root { | ||
--custom-margin: 2px; | ||
} | ||
|
||
[dir="ltr"]:root { | ||
--small-padding: 2px 4px 8px 16px; | ||
--large-padding: 4px 8px 16px 32px; | ||
--small-margin: 2px 4px 8px 16px; | ||
--large-margin: 4px 8px 16px 32px; | ||
} | ||
|
||
[dir="rtl"]:root { | ||
--small-padding: 2px 16px 8px 4px; | ||
--large-padding: 4px 32px 16px 8px; | ||
--small-margin: 2px 16px 8px 4px; | ||
--large-margin: 4px 32px 16px 8px; | ||
} | ||
|
||
.test1 { | ||
margin: var(--small-margin); | ||
padding: var(--small-padding); | ||
} | ||
|
||
.test1.large { | ||
margin: var(--large-margin); | ||
padding: var(--large-padding); | ||
} | ||
|
||
[dir="ltr"] .test1.large { | ||
left: 10px; | ||
} | ||
|
||
[dir="rtl"] .test1.large { | ||
right: 10px; | ||
} | ||
|
||
.test2 { | ||
margin: var(--custom-margin); | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 20px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 40px) | ||
; | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-left, 40px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-right, 20px); | ||
} | ||
|
||
[dir="ltr"] .test4 { | ||
margin-right: env(safe-area-inset-right, 10px); | ||
margin-left: env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="rtl"] .test4 { | ||
margin-left: env(safe-area-inset-right, 10px); | ||
margin-right: env(safe-area-inset-left, 20px); | ||
}" | ||
`; |
70 changes: 70 additions & 0 deletions
70
tests/__snapshots__/aliases-variables/combined/process-env-true.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Variables Tests: processEnv = true 1`] = ` | ||
":root { | ||
--custom-margin: 2px; | ||
} | ||
|
||
[dir="ltr"]:root { | ||
--small-padding: 2px 4px 8px 16px; | ||
--large-padding: 4px 8px 16px 32px; | ||
--small-margin: 2px 4px 8px 16px; | ||
--large-margin: 4px 8px 16px 32px; | ||
} | ||
|
||
[dir="rtl"]:root { | ||
--small-padding: 2px 16px 8px 4px; | ||
--large-padding: 4px 32px 16px 8px; | ||
--small-margin: 2px 16px 8px 4px; | ||
--large-margin: 4px 32px 16px 8px; | ||
} | ||
|
||
.test1 { | ||
margin: var(--small-margin); | ||
padding: var(--small-padding); | ||
} | ||
|
||
.test1.large { | ||
margin: var(--large-margin); | ||
padding: var(--large-padding); | ||
} | ||
|
||
[dir="ltr"] .test1.large { | ||
left: 10px; | ||
} | ||
|
||
[dir="rtl"] .test1.large { | ||
right: 10px; | ||
} | ||
|
||
.test2 { | ||
margin: var(--custom-margin); | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 20px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 40px) | ||
; | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
padding: | ||
env(safe-area-inset-top, 10px) | ||
env(safe-area-inset-right, 40px) | ||
env(safe-area-inset-bottom, 30px) | ||
env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="ltr"] .test4 { | ||
margin-right: env(safe-area-inset-right, 10px); | ||
margin-left: env(safe-area-inset-left, 20px); | ||
} | ||
|
||
[dir="rtl"] .test4 { | ||
margin-left: env(safe-area-inset-left, 10px); | ||
margin-right: env(safe-area-inset-right, 20px); | ||
}" | ||
`; |
Oops, something went wrong.