]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.spec.ts
236683404554acda6e0cca797182b7474401c4a0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / mgr-modules / mgr-module-details / mgr-module-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, i18nProviders } from '../../../../../testing/unit-test-helper';
7 import { CdTableSelection } from '../../../../shared/models/cd-table-selection';
8 import { SharedModule } from '../../../../shared/shared.module';
9 import { MgrModuleDetailsComponent } from './mgr-module-details.component';
10
11 describe('MgrModuleDetailsComponent', () => {
12 let component: MgrModuleDetailsComponent;
13 let fixture: ComponentFixture<MgrModuleDetailsComponent>;
14
15 configureTestBed({
16 declarations: [MgrModuleDetailsComponent],
17 imports: [HttpClientTestingModule, SharedModule, TabsModule.forRoot()],
18 providers: [i18nProviders]
19 });
20
21 beforeEach(() => {
22 fixture = TestBed.createComponent(MgrModuleDetailsComponent);
23 component = fixture.componentInstance;
24 component.selection = new CdTableSelection();
25 fixture.detectChanges();
26 });
27
28 it('should create', () => {
29 expect(component).toBeTruthy();
30 });
31 });