Skip to content

Commit

Permalink
add test case for px value in spacing scale
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Feb 22, 2025
1 parent 9cb92c4 commit 6fcfdad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/class-group-conflicts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ test('merges classes from same group correctly', () => {
twMerge('overflow-x-auto hover:overflow-x-hidden hover:overflow-x-auto overflow-x-scroll'),
).toBe('hover:overflow-x-auto overflow-x-scroll')
expect(twMerge('col-span-1 col-span-full')).toBe('col-span-full')
expect(twMerge('gap-2 gap-px basis-px basis-3')).toBe('gap-px basis-3')
})

test('merges classes from Font Variant Numeric section correctly', () => {
Expand Down

0 comments on commit 6fcfdad

Please sign in to comment.