]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
1e0575e71a6929d3e789adc783f2860387ab166f
[ceph-ci.git] /
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 { SharedModule } from '../../../../shared/shared.module';
8 import { MgrModuleDetailsComponent } from './mgr-module-details.component';
9
10 describe('MgrModuleDetailsComponent', () => {
11   let component: MgrModuleDetailsComponent;
12   let fixture: ComponentFixture<MgrModuleDetailsComponent>;
13
14   configureTestBed({
15     declarations: [MgrModuleDetailsComponent],
16     imports: [HttpClientTestingModule, SharedModule, TabsModule.forRoot()],
17     providers: [i18nProviders]
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(MgrModuleDetailsComponent);
22     component = fixture.componentInstance;
23     component.selection = undefined;
24     fixture.detectChanges();
25   });
26
27   it('should create', () => {
28     expect(component).toBeTruthy();
29   });
30 });