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