]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; |
2 | import { RouterTestingModule } from '@angular/router/testing'; | |
3 | ||
f67539c2 | 4 | import { NgbNavModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'; |
11fdf7f2 | 5 | |
f67539c2 TL |
6 | import { SharedModule } from '~/app/shared/shared.module'; |
7 | import { configureTestBed } from '~/testing/unit-test-helper'; | |
11fdf7f2 TL |
8 | import { RbdConfigurationListComponent } from '../rbd-configuration-list/rbd-configuration-list.component'; |
9 | import { RbdSnapshotListComponent } from '../rbd-snapshot-list/rbd-snapshot-list.component'; | |
10 | import { RbdDetailsComponent } from './rbd-details.component'; | |
11 | ||
12 | describe('RbdDetailsComponent', () => { | |
13 | let component: RbdDetailsComponent; | |
14 | let fixture: ComponentFixture<RbdDetailsComponent>; | |
15 | ||
16 | configureTestBed({ | |
17 | declarations: [RbdDetailsComponent, RbdSnapshotListComponent, RbdConfigurationListComponent], | |
f67539c2 | 18 | imports: [SharedModule, NgbTooltipModule, RouterTestingModule, NgbNavModule] |
11fdf7f2 TL |
19 | }); |
20 | ||
21 | beforeEach(() => { | |
22 | fixture = TestBed.createComponent(RbdDetailsComponent); | |
23 | component = fixture.componentInstance; | |
24 | fixture.detectChanges(); | |
25 | }); | |
26 | ||
27 | it('should create', () => { | |
28 | expect(component).toBeTruthy(); | |
29 | }); | |
30 | }); |