@@ -7,18 +7,21 @@ describe('Progress', () => {
7
7
const sizes = Object . keys ( theme . variants . size ) as any
8
8
const orientations = Object . keys ( theme . variants . orientation ) as any
9
9
const animations = Object . keys ( theme . variants . animation ) as any
10
+ const variants = Object . keys ( theme . variants . variant ) as any
10
11
const max = [ 'Waiting...' , 'Cloning...' , 'Migrating...' , 'Deploying...' , 'Done!' ]
11
12
12
13
it . each ( [
13
14
// Props
14
15
[ 'with modelValue' , { props : { modelValue : 50 } } ] ,
15
16
[ 'with status' , { props : { modelValue : 50 , status : true } } ] ,
16
17
[ 'with status inverted' , { props : { modelValue : 50 , status : true , inverted : true } } ] ,
18
+ [ 'with status position and circular variant' , { props : { modelValue : 50 , status : true , variant : 'circular' } } ] ,
17
19
[ 'with max' , { props : { modelValue : 2 , status : true , max } } ] ,
18
20
[ 'with max inverted' , { props : { modelValue : 2 , status : true , inverted : true , max } } ] ,
19
21
...sizes . map ( ( size : string ) => [ `with size ${ size } ` , { props : { size } } ] ) ,
20
22
...orientations . map ( ( orientation : string ) => [ `with orientation ${ orientation } ` , { props : { orientation } } ] ) ,
21
23
...animations . map ( ( animation : string ) => [ `with animation ${ animation } ` , { props : { animation } } ] ) ,
24
+ ...variants . map ( ( variant : string ) => [ `with variant ${ variant } ` , { props : { variant } } ] ) ,
22
25
[ 'with color neutral' , { props : { color : 'neutral' , modelValue : 50 } } ] ,
23
26
[ 'with as' , { props : { as : 'section' } } ] ,
24
27
[ 'with class' , { props : { class : 'w-48' } } ] ,
0 commit comments