Skip to content

Commit c98a90b

Browse files
Charfeddine HamrouniCharfeddine Hamrouni
Charfeddine Hamrouni
authored and
Charfeddine Hamrouni
committed
fix(Progress): add class in tests
1 parent e521326 commit c98a90b

File tree

2 files changed

+102
-23
lines changed

2 files changed

+102
-23
lines changed

test/components/Progress.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,21 @@ describe('Progress', () => {
77
const sizes = Object.keys(theme.variants.size) as any
88
const orientations = Object.keys(theme.variants.orientation) as any
99
const animations = Object.keys(theme.variants.animation) as any
10+
const variants = Object.keys(theme.variants.variant) as any
1011
const max = ['Waiting...', 'Cloning...', 'Migrating...', 'Deploying...', 'Done!']
1112

1213
it.each([
1314
// Props
1415
['with modelValue', { props: { modelValue: 50 } }],
1516
['with status', { props: { modelValue: 50, status: true } }],
1617
['with status inverted', { props: { modelValue: 50, status: true, inverted: true } }],
18+
['with status position and circular variant', { props: { modelValue: 50, status: true, variant: 'circular' } }],
1719
['with max', { props: { modelValue: 2, status: true, max } }],
1820
['with max inverted', { props: { modelValue: 2, status: true, inverted: true, max } }],
1921
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
2022
...orientations.map((orientation: string) => [`with orientation ${orientation}`, { props: { orientation } }]),
2123
...animations.map((animation: string) => [`with animation ${animation}`, { props: { animation } }]),
24+
...variants.map((variant: string) => [`with variant ${variant}`, { props: { variant } }]),
2225
['with color neutral', { props: { color: 'neutral', modelValue: 50 } }],
2326
['with as', { props: { as: 'section' } }],
2427
['with class', { props: { class: 'w-48' } }],

0 commit comments

Comments
 (0)