@@ -21,15 +21,15 @@ describe('GrBadge', () => {
2121
2222 it ( 'поддерживает size: sm / md / lg' , ( ) => {
2323 const sm = mount ( GrBadge , { props : { size : 'sm' } , slots : { default : 'SM' } } )
24- expect ( sm . attributes ( 'class' ) ) . toContain ( 'text-[11px ]' )
24+ expect ( sm . attributes ( 'class' ) ) . toContain ( 'text-[12px ]' )
2525 expect ( sm . attributes ( 'class' ) ) . toContain ( 'px-2' )
2626
2727 const md = mount ( GrBadge , { props : { size : 'md' } , slots : { default : 'MD' } } )
28- expect ( md . attributes ( 'class' ) ) . toContain ( 'text-[12px ]' )
29- expect ( md . attributes ( 'class' ) ) . toContain ( 'px-2.5 ' )
28+ expect ( md . attributes ( 'class' ) ) . toContain ( 'text-[13px ]' )
29+ expect ( md . attributes ( 'class' ) ) . toContain ( 'px-3 ' )
3030
3131 const lg = mount ( GrBadge , { props : { size : 'lg' } , slots : { default : 'LG' } } )
32- expect ( lg . attributes ( 'class' ) ) . toContain ( 'text-[13px ]' )
32+ expect ( lg . attributes ( 'class' ) ) . toContain ( 'text-[14px ]' )
3333 expect ( lg . attributes ( 'class' ) ) . toContain ( 'px-3' )
3434 expect ( lg . attributes ( 'class' ) ) . toContain ( 'py-1' )
3535 } )
@@ -42,7 +42,7 @@ describe('GrBadge', () => {
4242 props : { radius : 'semi' , size : 'lg' } ,
4343 slots : { default : 'Semi' } ,
4444 } )
45- expect ( semi . attributes ( 'class' ) ) . toContain ( 'rounded-[5px ]' )
45+ expect ( semi . attributes ( 'class' ) ) . toContain ( 'rounded-[7px ]' )
4646
4747 const round = mount ( GrBadge , { props : { radius : 'round' } , slots : { default : 'Round' } } )
4848 expect ( round . attributes ( 'class' ) ) . toContain ( 'rounded-full' )
@@ -63,7 +63,7 @@ describe('GrBadge', () => {
6363
6464 expect ( wrapper . attributes ( 'class' ) ) . toContain ( 'bg-[var(--ds-success)]' )
6565 expect ( wrapper . attributes ( 'class' ) ) . toContain ( 'text-white' )
66- expect ( wrapper . attributes ( 'class' ) ) . toContain ( 'rounded-[5px ]' )
66+ expect ( wrapper . attributes ( 'class' ) ) . toContain ( 'rounded-[7px ]' )
6767 } )
6868
6969 it ( 'поддерживает новые tones slate и azure' , ( ) => {
0 commit comments