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 { ToastrModule } from 'ngx-toastr';
8 import { SharedModule } from '~/app/shared/shared.module';
9 import { configureTestBed } from '~/testing/unit-test-helper';
10 import { MirrorHealthColorPipe } from '../mirror-health-color.pipe';
11 import { PoolListComponent } from './pool-list.component';
13 describe('PoolListComponent', () => {
14 let component: PoolListComponent;
15 let fixture: ComponentFixture<PoolListComponent>;
18 declarations: [PoolListComponent, MirrorHealthColorPipe],
20 BrowserAnimationsModule,
22 HttpClientTestingModule,
24 ToastrModule.forRoot()
29 fixture = TestBed.createComponent(PoolListComponent);
30 component = fixture.componentInstance;
31 fixture.detectChanges();
34 it('should create', () => {
35 expect(component).toBeTruthy();