]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | import { HttpClientTestingModule } from '@angular/common/http/testing'; |
2 | import { ComponentFixture, TestBed } from '@angular/core/testing'; | |
e306af50 | 3 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
11fdf7f2 TL |
4 | import { RouterTestingModule } from '@angular/router/testing'; |
5 | ||
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'; | |
10 | ||
11 | describe('PerformanceCounterComponent', () => { | |
12 | let component: PerformanceCounterComponent; | |
13 | let fixture: ComponentFixture<PerformanceCounterComponent>; | |
14 | ||
15 | configureTestBed({ | |
16 | declarations: [PerformanceCounterComponent, TablePerformanceCounterComponent], | |
e306af50 | 17 | imports: [RouterTestingModule, SharedModule, HttpClientTestingModule, BrowserAnimationsModule], |
11fdf7f2 TL |
18 | providers: i18nProviders |
19 | }); | |
20 | ||
21 | beforeEach(() => { | |
22 | fixture = TestBed.createComponent(PerformanceCounterComponent); | |
23 | component = fixture.componentInstance; | |
24 | fixture.detectChanges(); | |
25 | }); | |
26 | ||
27 | it('should create', () => { | |
28 | expect(component).toBeTruthy(); | |
29 | }); | |
30 | }); |