Skip to content

Commit 8793b6f

Browse files
committed
Update progress-spinner-harness.spec.ts
1 parent 591b272 commit 8793b6f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/material/progress-spinner/testing/progress-spinner-harness.spec.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ describe('MatProgressSpinnerHarness', () => {
5454
await loader.getHarness(MatProgressSpinnerHarness.with({selector: '.with-strokeWidth'}));
5555
expect(await withAttributs.getStrokeWidth()).toBe(5);
5656
});
57-
58-
it('should get the strokeWidth when undefined', async () => {
59-
fixture.componentInstance.diameter.set(20);
60-
const withAttributs =
61-
await loader.getHarness(MatProgressSpinnerHarness.with({selector: '.with-strokeWidth'}));
62-
expect(await withAttributs.getStrokeWidth()).toBe(2);
63-
});
6457
});
6558

6659
@Component({
@@ -74,6 +67,6 @@ describe('MatProgressSpinnerHarness', () => {
7467
})
7568
class ProgressSpinnerHarnessTest {
7669
value = signal(0);
77-
diameter = signal();
78-
strokeWidth = signal();
70+
diameter = signal(30);
71+
strokeWidth = signal(3);
7972
}

0 commit comments

Comments
 (0)