@@ -515,6 +515,17 @@ test('classFunctions & classProperties should not duplicate matches', async ({ e
515
515
CONTENT
516
516
</div>
517
517
)
518
+ const OtherComponent = ({ className }) => (
519
+ <div
520
+ className={clsx(
521
+ 'relative flex',
522
+ 'inset-0 md:h-[calc(100%-2rem)]',
523
+ clsx('rounded-none bg-blue-700', className),
524
+ )}
525
+ >
526
+ CONTENT
527
+ </div>
528
+ )
518
529
` ,
519
530
} )
520
531
@@ -542,6 +553,27 @@ test('classFunctions & classProperties should not duplicate matches', async ({ e
542
553
end : { line : 5 , character : 36 } ,
543
554
} ,
544
555
} ,
556
+ {
557
+ classList : 'relative flex' ,
558
+ range : {
559
+ start : { line : 14 , character : 7 } ,
560
+ end : { line : 14 , character : 20 } ,
561
+ } ,
562
+ } ,
563
+ {
564
+ classList : 'inset-0 md:h-[calc(100%-2rem)]' ,
565
+ range : {
566
+ start : { line : 15 , character : 7 } ,
567
+ end : { line : 15 , character : 37 } ,
568
+ } ,
569
+ } ,
570
+ {
571
+ classList : 'rounded-none bg-blue-700' ,
572
+ range : {
573
+ start : { line : 16 , character : 12 } ,
574
+ end : { line : 16 , character : 36 } ,
575
+ } ,
576
+ } ,
545
577
] )
546
578
} )
547
579
0 commit comments