Skip to content

Commit aa89e73

Browse files
committed
update cli integration tests
1 parent 92453fc commit aa89e73

2 files changed

Lines changed: 7 additions & 13 deletions

File tree

integrations/cli/index.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,9 +2948,7 @@ test(
29482948
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
29492949
::placeholder {
29502950
color: currentcolor;
2951-
}
2952-
@supports (color: color-mix(in lab, red, red)) {
2953-
::placeholder {
2951+
@supports (color: color-mix(in lab, red, red)) {
29542952
color: color-mix(in oklab, currentcolor 50%, transparent);
29552953
}
29562954
}
@@ -2993,9 +2991,7 @@ test(
29932991
@layer utilities {
29942992
.bg-red-500\\/50 {
29952993
background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 50%, transparent);
2996-
}
2997-
@supports (color: color-mix(in lab, red, red)) {
2998-
.bg-red-500\\/50 {
2994+
@supports (color: color-mix(in lab, red, red)) {
29992995
background-color: color-mix(in oklab, var(--color-red-500) 50%, transparent);
30002996
}
30012997
}

integrations/cli/plugins.test.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,11 @@ test(
109109
expect(await fs.dumpFiles('dist/out.css')).toMatchInlineSnapshot(`
110110
"
111111
--- dist/out.css ---
112-
.prose-custom {
113-
:where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
114-
--x: 1;
115-
@media (width >= 640px) {
116-
&.custom {
117-
--x: 2;
118-
}
112+
.prose-custom :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
113+
--x: 1;
114+
@media (width >= 640px) {
115+
&.custom {
116+
--x: 2;
119117
}
120118
}
121119
}

0 commit comments

Comments
 (0)