]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; |
2 | ||
3 | import { AlertModule } from 'ngx-bootstrap/alert'; | |
4 | ||
5 | import { configureTestBed } from '../../../../testing/unit-test-helper'; | |
9f95a23c | 6 | import { AlertPanelComponent } from '../alert-panel/alert-panel.component'; |
11fdf7f2 TL |
7 | import { ViewCacheComponent } from './view-cache.component'; |
8 | ||
9 | describe('ViewCacheComponent', () => { | |
10 | let component: ViewCacheComponent; | |
11 | let fixture: ComponentFixture<ViewCacheComponent>; | |
12 | ||
13 | configureTestBed({ | |
9f95a23c | 14 | declarations: [ViewCacheComponent, AlertPanelComponent], |
11fdf7f2 TL |
15 | imports: [AlertModule.forRoot()] |
16 | }); | |
17 | ||
18 | beforeEach(() => { | |
19 | fixture = TestBed.createComponent(ViewCacheComponent); | |
20 | component = fixture.componentInstance; | |
21 | fixture.detectChanges(); | |
22 | }); | |
23 | ||
24 | it('should create', () => { | |
25 | expect(component).toBeTruthy(); | |
26 | }); | |
27 | }); |