]> 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
update sources to ceph Nautilus 14.2.1
[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';
7import { CdTableSelection } from '../../../shared/models/cd-table-selection';
8import { SharedModule } from '../../../shared/shared.module';
9import { PerformanceCounterModule } from '../../performance-counter/performance-counter.module';
10import { RgwDaemonDetailsComponent } from './rgw-daemon-details.component';
11
12describe('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});