]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
9a9b27cfd8c72e0aa3a7c7031ea14ee6c0c3d067
[ceph.git] /
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
5
6 import { configureTestBed } from '~/testing/unit-test-helper';
7 import { SharedModule } from '~/app/shared/shared.module';
8 import { PerformanceCounterModule } from '~/app/ceph/performance-counter/performance-counter.module';
9 import { RgwDaemonDetailsComponent } from './rgw-daemon-details.component';
10
11 describe('RgwDaemonDetailsComponent', () => {
12   let component: RgwDaemonDetailsComponent;
13   let fixture: ComponentFixture<RgwDaemonDetailsComponent>;
14
15   configureTestBed({
16     declarations: [RgwDaemonDetailsComponent],
17     imports: [SharedModule, PerformanceCounterModule, HttpClientTestingModule, NgbNavModule]
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(RgwDaemonDetailsComponent);
22     component = fixture.componentInstance;
23     component.selection = undefined;
24     fixture.detectChanges();
25   });
26
27   it('should create', () => {
28     expect(component).toBeTruthy();
29   });
30 });