1 import { NO_ERRORS_SCHEMA } from '@angular/core';
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
4 import { PerformanceCounterService } from '../../../shared/api/performance-counter.service';
5 import { TableComponent } from '../../../shared/datatable/table/table.component';
6 import { DimlessPipe } from '../../../shared/pipes/dimless.pipe';
7 import { FormatterService } from '../../../shared/services/formatter.service';
8 import { TablePerformanceCounterComponent } from './table-performance-counter.component';
10 describe('TablePerformanceCounterComponent', () => {
11 let component: TablePerformanceCounterComponent;
12 let fixture: ComponentFixture<TablePerformanceCounterComponent>;
14 const fakeService = {};
16 beforeEach(async(() => {
17 TestBed.configureTestingModule({
18 declarations: [TablePerformanceCounterComponent, TableComponent, DimlessPipe],
20 schemas: [NO_ERRORS_SCHEMA],
22 { provide: PerformanceCounterService, useValue: fakeService },
26 }).compileComponents();
30 fixture = TestBed.createComponent(TablePerformanceCounterComponent);
31 component = fixture.componentInstance;
32 fixture.detectChanges();
35 it('should create', () => {
36 expect(component).toBeTruthy();