37 lines
1014 B
TypeScript
37 lines
1014 B
TypeScript
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<SprintFormComponent>;
|
|
|
|
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();
|
|
});
|
|
});
|