]> 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
import 15.2.4
[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 { BrowserAnimationsModule } from '@angular/platform-browser/animations';
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],
17 imports: [RouterTestingModule, SharedModule, HttpClientTestingModule, BrowserAnimationsModule],
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 });