Skip to content

Commit

Permalink
add test case for new variants with arbitrary values
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Oct 19, 2022
1 parent cad2db2 commit d0b9f34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/arbitrary-variants.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ test('basic arbitrary variants', () => {
expect(twMerge('[&>*]:underline [&>*]:line-through [&_div]:line-through')).toBe(
'[&>*]:line-through [&_div]:line-through',
)
expect(twMerge('supports-[display:grid]:flex supports-[display:grid]:grid')).toBe(
'supports-[display:grid]:grid',
)
})

test('arbitrary variants with modifiers', () => {
Expand Down

0 comments on commit d0b9f34

Please sign in to comment.