]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
a2ede8d3f3f02c6b36a1a3893cc533b2fd456497
[ceph-ci.git] /
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { TabsModule } from 'ngx-bootstrap/tabs';
4
5 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
6 import { CdTableSelection } from '../../../shared/models/cd-table-selection';
7 import { SharedModule } from '../../../shared/shared.module';
8 import { RgwBucketDetailsComponent } from './rgw-bucket-details.component';
9
10 describe('RgwBucketDetailsComponent', () => {
11   let component: RgwBucketDetailsComponent;
12   let fixture: ComponentFixture<RgwBucketDetailsComponent>;
13
14   configureTestBed({
15     declarations: [RgwBucketDetailsComponent],
16     imports: [SharedModule, TabsModule.forRoot()],
17     providers: [i18nProviders]
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(RgwBucketDetailsComponent);
22     component = fixture.componentInstance;
23     component.selection = new CdTableSelection();
24     fixture.detectChanges();
25   });
26
27   it('should create', () => {
28     expect(component).toBeTruthy();
29   });
30 });