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