]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
4fe5688bc59f1fed4f6eefda1576dde0995ef6fc
[ceph.git] /
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';
5
6 import { configureTestBed } from '~/testing/unit-test-helper';
7 import { SharedModule } from '~/app/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],
17     imports: [RouterTestingModule, SharedModule, HttpClientTestingModule, BrowserAnimationsModule]
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(PerformanceCounterComponent);
22     component = fixture.componentInstance;
23     fixture.detectChanges();
24   });
25
26   it('should create', () => {
27     expect(component).toBeTruthy();
28   });
29 });