1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
4 import { RouterTestingModule } from '@angular/router/testing';
6 import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
7 import { ToastrModule } from 'ngx-toastr';
9 import { SharedModule } from '~/app/shared/shared.module';
10 import { configureTestBed } from '~/testing/unit-test-helper';
11 import { DaemonListComponent } from '../daemon-list/daemon-list.component';
12 import { ImageListComponent } from '../image-list/image-list.component';
13 import { MirrorHealthColorPipe } from '../mirror-health-color.pipe';
14 import { PoolListComponent } from '../pool-list/pool-list.component';
15 import { OverviewComponent } from './overview.component';
17 describe('OverviewComponent', () => {
18 let component: OverviewComponent;
19 let fixture: ComponentFixture<OverviewComponent>;
25 MirrorHealthColorPipe,
30 BrowserAnimationsModule,
34 HttpClientTestingModule,
36 ToastrModule.forRoot()
41 fixture = TestBed.createComponent(OverviewComponent);
42 component = fixture.componentInstance;
43 fixture.detectChanges();
46 it('should create', () => {
47 expect(component).toBeTruthy();