]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | import { HttpClientTestingModule } from '@angular/common/http/testing'; |
2 | import { ComponentFixture, TestBed } from '@angular/core/testing'; | |
e306af50 | 3 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
11fdf7f2 | 4 | |
f67539c2 | 5 | import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap'; |
11fdf7f2 | 6 | |
f67539c2 TL |
7 | import { SharedModule } from '~/app/shared/shared.module'; |
8 | import { configureTestBed } from '~/testing/unit-test-helper'; | |
11fdf7f2 TL |
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: [ | |
e306af50 | 19 | BrowserAnimationsModule, |
11fdf7f2 | 20 | SharedModule, |
f67539c2 TL |
21 | NgbNavModule, |
22 | NgbProgressbarModule, | |
11fdf7f2 | 23 | HttpClientTestingModule |
f67539c2 | 24 | ] |
11fdf7f2 TL |
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 | }); |