]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
f5dbd4785ee3faf17bbf4b38534ef6f41273fac0
[ceph.git] /
1 import { HttpClientModule } from '@angular/common/http';
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { TabsModule } from 'ngx-bootstrap/tabs';
5
6 import { SharedModule } from '../../../shared/shared.module';
7 import { PerformanceCounterModule } from '../../performance-counter/performance-counter.module';
8 import { RgwDaemonDetailsComponent } from '../rgw-daemon-details/rgw-daemon-details.component';
9 import { RgwDaemonListComponent } from './rgw-daemon-list.component';
10
11 describe('RgwDaemonListComponent', () => {
12   let component: RgwDaemonListComponent;
13   let fixture: ComponentFixture<RgwDaemonListComponent>;
14
15   beforeEach(async(() => {
16     TestBed.configureTestingModule({
17       declarations: [
18         RgwDaemonListComponent,
19         RgwDaemonDetailsComponent
20       ],
21       imports: [
22         HttpClientModule,
23         TabsModule.forRoot(),
24         PerformanceCounterModule,
25         SharedModule
26       ]
27     })
28     .compileComponents();
29   }));
30
31   beforeEach(() => {
32     fixture = TestBed.createComponent(RgwDaemonListComponent);
33     component = fixture.componentInstance;
34     fixture.detectChanges();
35   });
36
37   it('should create', () => {
38     expect(component).toBeTruthy();
39   });
40 });