1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
5 import { ToastModule } from 'ng2-toastr';
6 import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
7 import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
8 import { TabsModule } from 'ngx-bootstrap/tabs';
10 import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
11 import { SharedModule } from '../../../../shared/shared.module';
12 import { DaemonListComponent } from '../daemon-list/daemon-list.component';
13 import { ImageListComponent } from '../image-list/image-list.component';
14 import { MirrorHealthColorPipe } from '../mirror-health-color.pipe';
15 import { PoolListComponent } from '../pool-list/pool-list.component';
16 import { OverviewComponent } from './overview.component';
18 describe('OverviewComponent', () => {
19 let component: OverviewComponent;
20 let fixture: ComponentFixture<OverviewComponent>;
26 MirrorHealthColorPipe,
32 BsDropdownModule.forRoot(),
34 ProgressbarModule.forRoot(),
35 HttpClientTestingModule,
39 providers: i18nProviders
43 fixture = TestBed.createComponent(OverviewComponent);
44 component = fixture.componentInstance;
45 fixture.detectChanges();
48 it('should create', () => {
49 expect(component).toBeTruthy();