]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
6a219590074a212f5d3730fb45f07f185a72a63f
[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 { BsDropdownModule } from 'ngx-bootstrap';
6
7 import { SharedModule } from '../../../shared/shared.module';
8 import { TablePerformanceCounterComponent } from './table-performance-counter.component';
9
10 describe('TablePerformanceCounterComponent', () => {
11   let component: TablePerformanceCounterComponent;
12   let fixture: ComponentFixture<TablePerformanceCounterComponent>;
13
14   beforeEach(async(() => {
15     TestBed.configureTestingModule({
16       declarations: [ TablePerformanceCounterComponent ],
17       imports: [
18         HttpClientTestingModule,
19         HttpClientModule,
20         BsDropdownModule.forRoot(),
21         SharedModule
22       ]
23     })
24     .compileComponents();
25   }));
26
27   beforeEach(() => {
28     fixture = TestBed.createComponent(TablePerformanceCounterComponent);
29     component = fixture.componentInstance;
30     fixture.detectChanges();
31   });
32
33   it('should create', () => {
34     expect(component).toBeTruthy();
35   });
36 });