Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ describe('IgxCircularProgressBarComponent', () => {
circularBar = fixture.debugElement.nativeElement;
});

afterEach(() => {
// Remove elements manually from DOM, because CircularBar overrides the id the TestBed uses
fixture.elementRef.nativeElement.remove();
fixture.destroy();
});

it('should initialize with default attributes', () => {
expect(progress.cssClass).toBe('igx-circular-bar');
expect(progress.textVisibility).toBe(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ describe('IgxLinearProgressBarComponent', () => {
linearBar = fixture.debugElement.nativeElement;
});

afterEach(() => {
// Remove elements manually from DOM, because LinearBar overrides the id the TestBed uses
fixture.elementRef.nativeElement.remove();
fixture.destroy();
});

it('should initialize with default attributes', () => {
expect(progress.valueMin).toBe(0);
expect(progress.cssClass).toBe('igx-linear-bar');
Expand Down
Loading