import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { HttpClientModule } from '@angular/common/http'; import { BackendService } from '../../services/backend.service'; import { NgbActiveModal, NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { SprintFormComponent } from './sprint-form.component'; describe('SprintFormComponent', () => { let component: SprintFormComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ HttpClientModule, NgbModule, ], declarations: [ SprintFormComponent ], providers: [ BackendService, NgbActiveModal, ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(SprintFormComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create the component', () => { expect(component).toBeTruthy(); }); });