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