]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
c46da43a2212d531db2d4188e350ccf1b894ea92
[ceph.git] /
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
5 import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
6
7 import { configureTestBed } from '~/testing/unit-test-helper';
8 import { SharedModule } from '~/app/shared/shared.module';
9 import { MirrorHealthColorPipe } from '../mirror-health-color.pipe';
10 import { ImageListComponent } from './image-list.component';
11
12 describe('ImageListComponent', () => {
13   let component: ImageListComponent;
14   let fixture: ComponentFixture<ImageListComponent>;
15
16   configureTestBed({
17     declarations: [ImageListComponent, MirrorHealthColorPipe],
18     imports: [
19       BrowserAnimationsModule,
20       SharedModule,
21       NgbNavModule,
22       NgbProgressbarModule,
23       HttpClientTestingModule
24     ]
25   });
26
27   beforeEach(() => {
28     fixture = TestBed.createComponent(ImageListComponent);
29     component = fixture.componentInstance;
30     fixture.detectChanges();
31   });
32
33   it('should create', () => {
34     expect(component).toBeTruthy();
35   });
36 });