Skip to content

Commit

Permalink
add test case for subgrid utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Dec 21, 2023
1 parent 7dd8658 commit a37e24b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/tailwind-css-versions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ test('supports Tailwind CSS v3.4 features', () => {
).toBe('has-[[data-potato]]:p-2 group-has-[:checked]:flex')
expect(twMerge('text-wrap text-pretty')).toBe('text-pretty')
expect(twMerge('w-5 h-3 size-10 w-12')).toBe('size-10 w-12')
expect(twMerge('grid-cols-2 grid-cols-subgrid grid-rows-5 grid-rows-subgrid')).toBe(
'grid-cols-subgrid grid-rows-subgrid',
)
})

0 comments on commit a37e24b

Please sign in to comment.