Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
explicitly test with animate-foo
  • Loading branch information
RobinMalfait committed Jan 31, 2025
commit 177b28e4e55a16cd66cee03b705e0c63cf6a26b9
12 changes: 8 additions & 4 deletions packages/tailwindcss/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1549,11 +1549,11 @@ describe('Parsing themes values from CSS', () => {
}
@tailwind utilities;
`,
['flex'],
['animate-foo'],
),
).toMatchInlineSnapshot(`
".flex {
display: flex;
".animate-foo {
animation: var(--animate-foo);
}"
`)
})
Expand Down Expand Up @@ -1582,13 +1582,17 @@ describe('Parsing themes values from CSS', () => {

@tailwind utilities;
`,
['bg-pink'],
['bg-pink', 'animate-foo'],
),
).toMatchInlineSnapshot(`
":root, :host {
--color-pink: pink;
}

.animate-foo {
animation: var(--animate-foo);
}

.bg-pink {
background-color: var(--color-pink);
}"
Expand Down