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