]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
11fdf7f2
TL
1import { HttpClientTestingModule } from '@angular/common/http/testing';
2import { ComponentFixture, TestBed } from '@angular/core/testing';
e306af50 3import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
11fdf7f2
TL
4import { RouterTestingModule } from '@angular/router/testing';
5
6import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
7import { SharedModule } from '../../../shared/shared.module';
8import { TablePerformanceCounterComponent } from '../table-performance-counter/table-performance-counter.component';
9import { PerformanceCounterComponent } from './performance-counter.component';
10
11describe('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});