Skip to content

Commit 100f524

Browse files
committed
update integration tests
1 parent 457e9b5 commit 100f524

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

integrations/upgrade/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ test(
209209
"
210210
--- ./src/index.html ---
211211
<div
212-
class="tw:flex! tw:sm:block! tw:bg-linear-to-t flex tw:[color:red] tw:in-[.tw\\:group]:flex"
212+
class="tw:flex! tw:sm:block! tw:bg-linear-to-t flex tw:text-[red] tw:in-[.tw\\:group]:flex"
213213
></div>
214214
<div
215215
class="tw:group tw:group/foo tw:peer tw:peer/foo tw:group-hover:flex tw:group-hover/foo:flex tw:peer-hover:flex tw:peer-hover/foo:flex"

integrations/upgrade/js-config.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,12 +1329,12 @@ describe('border compatibility', () => {
13291329
"
13301330
--- src/index.html ---
13311331
<div
1332-
class="[width:--spacing(2)]
1333-
[width:--spacing(4.5)]
1334-
[width:var(--spacing-5_5)]
1335-
[width:--spacing(13)]
1336-
[width:var(--spacing-100)]
1337-
[width:var(--spacing-miami)]"
1332+
class="w-2
1333+
w-4.5
1334+
w-5.5
1335+
w-13
1336+
w-100
1337+
w-miami"
13381338
></div>
13391339
13401340
--- src/input.css ---
@@ -1439,12 +1439,12 @@ describe('border compatibility', () => {
14391439
"
14401440
--- src/index.html ---
14411441
<div
1442-
class="[width:var(--spacing-2)]
1443-
[width:var(--spacing-4_5)]
1444-
[width:var(--spacing-5_5)]
1445-
[width:var(--spacing-13)]
1446-
[width:var(--spacing-100)]
1447-
[width:var(--spacing-miami)]"
1442+
class="w-2
1443+
w-4.5
1444+
w-5.5
1445+
w-13
1446+
w-100
1447+
w-miami"
14481448
></div>
14491449
14501450
--- src/input.css ---

0 commit comments

Comments
 (0)