1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
5 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
6 import { SharedModule } from '../../../shared/shared.module';
7 import { TablePerformanceCounterComponent } from '../table-performance-counter/table-performance-counter.component';
8 import { PerformanceCounterComponent } from './performance-counter.component';
10 describe('PerformanceCounterComponent', () => {
11 let component: PerformanceCounterComponent;
12 let fixture: ComponentFixture<PerformanceCounterComponent>;
15 declarations: [PerformanceCounterComponent, TablePerformanceCounterComponent],
16 imports: [RouterTestingModule, SharedModule, HttpClientTestingModule],
17 providers: i18nProviders
21 fixture = TestBed.createComponent(PerformanceCounterComponent);
22 component = fixture.componentInstance;
23 fixture.detectChanges();
26 it('should create', () => {
27 expect(component).toBeTruthy();