Skip to content

Commit b478f1b

Browse files
committed
refactor(progressbar): cleanup the code
1 parent d9b13d5 commit b478f1b

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

src/components/progress/circular-progress.spec.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,27 +67,6 @@ describe('Circular progress component', () => {
6767
expect(progress).to.have.attribute('variant', variant);
6868
}
6969
});
70-
71-
// it('handles indeterminate state transitions', async () => {
72-
// await updateProgress('value', 30);
73-
// expect(progress.getAttribute('aria-valuenow')).to.equal('30'); // Ensure value is set
74-
//
75-
// await updateProgress('indeterminate', true);
76-
// expect(progress.getAttribute('aria-valuenow')).to.be.null; // Indeterminate clears aria-valuenow
77-
//
78-
// await updateProgress('indeterminate', false);
79-
// expect(progress.getAttribute('aria-valuenow')).to.equal('30'); // Restores value
80-
// });
81-
82-
// it('applies custom label format', async () => {
83-
// // Set a custom label format
84-
// await updateProgress('labelFormat', 'Completed {0} of {1}');
85-
// await updateProgress('value', 75);
86-
// await updateProgress('max', 100);
87-
//
88-
// const label = getLabelPart();
89-
// expect(label?.textContent?.trim()).to.equal('Completed 75 of 100');
90-
// });
9170
});
9271

9372
describe('Rendering and Gradients', () => {

src/components/progress/themes/circular/shared/circular.progress.fluent.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
$theme: $fluent;
77

8-
// TODO If possible make the animation the same as the MS fluent
98
:host {
109
--stroke-thickness: 2px;
1110
--scale-factor: 2.75;

0 commit comments

Comments
 (0)