]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard-area-chart/dashboard-area-chart.component.spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / dashboard-v3 / dashboard-area-chart / dashboard-area-chart.component.spec.ts
CommitLineData
1e59de90
TL
1import { NO_ERRORS_SCHEMA } from '@angular/core';
2import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4import { CssHelper } from '~/app/shared/classes/css-helper';
5import { DimlessBinaryPerSecondPipe } from '~/app/shared/pipes/dimless-binary-per-second.pipe';
6import { DimlessBinaryPipe } from '~/app/shared/pipes/dimless-binary.pipe';
7import { DimlessPipe } from '~/app/shared/pipes/dimless.pipe';
8import { FormatterService } from '~/app/shared/services/formatter.service';
9import { configureTestBed } from '~/testing/unit-test-helper';
10import { DashboardAreaChartComponent } from './dashboard-area-chart.component';
11
12describe('DashboardAreaChartComponent', () => {
13 let component: DashboardAreaChartComponent;
14 let fixture: ComponentFixture<DashboardAreaChartComponent>;
15
16 configureTestBed({
17 schemas: [NO_ERRORS_SCHEMA],
18 declarations: [DashboardAreaChartComponent],
19 providers: [
20 CssHelper,
21 DimlessBinaryPipe,
22 DimlessBinaryPerSecondPipe,
23 DimlessPipe,
24 FormatterService
25 ]
26 });
27
28 beforeEach(() => {
29 fixture = TestBed.createComponent(DashboardAreaChartComponent);
30 component = fixture.componentInstance;
31 });
32
33 it('should create', () => {
34 expect(component).toBeTruthy();
35 });
36});