blob: ebb1ef04481d4429319e785d88427427c7676013 (
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
31
|
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
import { TablePerformanceCounterComponent } from '~/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component';
import { CephSharedModule } from '~/app/ceph/shared/ceph-shared.module';
import { SharedModule } from '~/app/shared/shared.module';
import { configureTestBed } from '~/testing/unit-test-helper';
import { OsdDetailsComponent } from './osd-details.component';
describe('OsdDetailsComponent', () => {
let component: OsdDetailsComponent;
let fixture: ComponentFixture<OsdDetailsComponent>;
configureTestBed({
imports: [HttpClientTestingModule, NgbNavModule, SharedModule, CephSharedModule],
declarations: [OsdDetailsComponent, TablePerformanceCounterComponent]
});
beforeEach(() => {
fixture = TestBed.createComponent(OsdDetailsComponent);
component = fixture.componentInstance;
component.selection = undefined;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|