]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.spec.ts
233599bed421dd9e44016e015f9ddb2938cc5aa3
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / performance-counter / performance-counter / performance-counter.component.spec.ts
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
4
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';
9
10 describe('PerformanceCounterComponent', () => {
11 let component: PerformanceCounterComponent;
12 let fixture: ComponentFixture<PerformanceCounterComponent>;
13
14 configureTestBed({
15 declarations: [PerformanceCounterComponent, TablePerformanceCounterComponent],
16 imports: [RouterTestingModule, SharedModule, HttpClientTestingModule],
17 providers: i18nProviders
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 });