1 import { HttpClientModule } from '@angular/common/http';
2 import { HttpClientTestingModule } from '@angular/common/http/testing';
3 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
5 import { TabsModule } from 'ngx-bootstrap/tabs';
7 import { DataTableModule } from '../../../shared/datatable/datatable.module';
8 import { SharedModule } from '../../../shared/shared.module';
9 import { PerformanceCounterModule } from '../../performance-counter/performance-counter.module';
10 import { RgwDaemonDetailsComponent } from '../rgw-daemon-details/rgw-daemon-details.component';
11 import { RgwDaemonListComponent } from './rgw-daemon-list.component';
13 describe('RgwDaemonListComponent', () => {
14 let component: RgwDaemonListComponent;
15 let fixture: ComponentFixture<RgwDaemonListComponent>;
17 beforeEach(async(() => {
18 TestBed.configureTestingModule({
19 declarations: [ RgwDaemonListComponent, RgwDaemonDetailsComponent ],
22 HttpClientTestingModule,
25 PerformanceCounterModule,
33 fixture = TestBed.createComponent(RgwDaemonListComponent);
34 component = fixture.componentInstance;
35 fixture.detectChanges();
38 it('should create', () => {
39 expect(component).toBeTruthy();