Skip to content

Commit 6fcfdad

Browse files
committed
add test case for px value in spacing scale
1 parent 9cb92c4 commit 6fcfdad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/class-group-conflicts.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ test('merges classes from same group correctly', () => {
1414
twMerge('overflow-x-auto hover:overflow-x-hidden hover:overflow-x-auto overflow-x-scroll'),
1515
).toBe('hover:overflow-x-auto overflow-x-scroll')
1616
expect(twMerge('col-span-1 col-span-full')).toBe('col-span-full')
17+
expect(twMerge('gap-2 gap-px basis-px basis-3')).toBe('gap-px basis-3')
1718
})
1819

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

0 commit comments

Comments
 (0)