]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.spec.ts
96b6d81a8f6f7a3ea68515ea3b0aed5c5eea1f82
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / rgw / rgw-daemon-details / rgw-daemon-details.component.spec.ts
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { TabsModule } from 'ngx-bootstrap/tabs';
5
6 import { configureTestBed } from '../../../../testing/unit-test-helper';
7 import { CdTableSelection } from '../../../shared/models/cd-table-selection';
8 import { SharedModule } from '../../../shared/shared.module';
9 import { PerformanceCounterModule } from '../../performance-counter/performance-counter.module';
10 import { RgwDaemonDetailsComponent } from './rgw-daemon-details.component';
11
12 describe('RgwDaemonDetailsComponent', () => {
13 let component: RgwDaemonDetailsComponent;
14 let fixture: ComponentFixture<RgwDaemonDetailsComponent>;
15
16 configureTestBed({
17 declarations: [RgwDaemonDetailsComponent],
18 imports: [SharedModule, PerformanceCounterModule, TabsModule.forRoot(), HttpClientTestingModule]
19 });
20
21 beforeEach(() => {
22 fixture = TestBed.createComponent(RgwDaemonDetailsComponent);
23 component = fixture.componentInstance;
24 component.selection = new CdTableSelection();
25 fixture.detectChanges();
26 });
27
28 it('should create', () => {
29 expect(component).toBeTruthy();
30 });
31 });