]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
01aa7f0564a92defd796e1562d9142ef393db358
[ceph.git] /
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { PopoverModule } from 'ngx-bootstrap';
5
6 import { SharedModule } from '../../../shared/shared.module';
7 import { TaskManagerComponent } from './task-manager.component';
8
9 describe('TaskManagerComponent', () => {
10   let component: TaskManagerComponent;
11   let fixture: ComponentFixture<TaskManagerComponent>;
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       imports: [
16         SharedModule,
17         PopoverModule.forRoot(),
18         HttpClientTestingModule
19       ],
20       declarations: [ TaskManagerComponent ]
21     })
22     .compileComponents();
23   }));
24
25   beforeEach(() => {
26     fixture = TestBed.createComponent(TaskManagerComponent);
27     component = fixture.componentInstance;
28     fixture.detectChanges();
29   });
30
31   it('should create', () => {
32     expect(component).toBeTruthy();
33   });
34 });