Skip to content

Commit 9cd3d55

Browse files
committed
update tests
1 parent 0baed46 commit 9cd3d55

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/tailwindcss/src/index.test.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ describe('compiling CSS', () => {
169169
),
170170
).toMatchInlineSnapshot(`
171171
":root, :host {
172+
--spacing-1\\.5: 1.5px;
172173
--spacing-2_5: 2.5px;
174+
--spacing-3\\.5: 3.5px;
175+
--spacing-foo\\/bar: 3rem;
173176
}
174177
175178
.m-1\\.5 {
@@ -1106,7 +1109,12 @@ describe('Parsing themes values from CSS', () => {
11061109
['w-1/2', 'w-75%'],
11071110
),
11081111
).toMatchInlineSnapshot(`
1109-
".w-1\\/2 {
1112+
":root, :host {
1113+
--width-1\\/2: 75%;
1114+
--width-75\\%: 50%;
1115+
}
1116+
1117+
.w-1\\/2 {
11101118
width: var(--width-1\\/2);
11111119
}
11121120

0 commit comments

Comments
 (0)