import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { ProgressbarComponent } from './progressbar.component'; describe('ProgressbarComponent', () => { let component: ProgressbarComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ NgbModule.forRoot() ], declarations: [ ProgressbarComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(ProgressbarComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });