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