Skip to content

Commit 177b28e

Browse files
committed
explicitly test with animate-foo
1 parent e75a925 commit 177b28e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/tailwindcss/src/index.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,11 +1549,11 @@ describe('Parsing themes values from CSS', () => {
15491549
}
15501550
@tailwind utilities;
15511551
`,
1552-
['flex'],
1552+
['animate-foo'],
15531553
),
15541554
).toMatchInlineSnapshot(`
1555-
".flex {
1556-
display: flex;
1555+
".animate-foo {
1556+
animation: var(--animate-foo);
15571557
}"
15581558
`)
15591559
})
@@ -1582,13 +1582,17 @@ describe('Parsing themes values from CSS', () => {
15821582
15831583
@tailwind utilities;
15841584
`,
1585-
['bg-pink'],
1585+
['bg-pink', 'animate-foo'],
15861586
),
15871587
).toMatchInlineSnapshot(`
15881588
":root, :host {
15891589
--color-pink: pink;
15901590
}
15911591
1592+
.animate-foo {
1593+
animation: var(--animate-foo);
1594+
}
1595+
15921596
.bg-pink {
15931597
background-color: var(--color-pink);
15941598
}"

0 commit comments

Comments
 (0)