1 import { NO_ERRORS_SCHEMA } from '@angular/core';
2 import { 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 { configureTestBed } from '../../../shared/unit-test-helper';
9 import { TablePerformanceCounterComponent } from './table-performance-counter.component';
11 describe('TablePerformanceCounterComponent', () => {
12 let component: TablePerformanceCounterComponent;
13 let fixture: ComponentFixture<TablePerformanceCounterComponent>;
15 const fakeService = {};
18 declarations: [TablePerformanceCounterComponent, TableComponent, DimlessPipe],
20 schemas: [NO_ERRORS_SCHEMA],
22 { provide: PerformanceCounterService, useValue: fakeService },
29 fixture = TestBed.createComponent(TablePerformanceCounterComponent);
30 component = fixture.componentInstance;
31 fixture.detectChanges();
34 it('should create', () => {
35 expect(component).toBeTruthy();