]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
0501ac75dde6c77482f301f9c66bd10dfe9f36ff
[ceph.git] /
1 import { NO_ERRORS_SCHEMA } from '@angular/core';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { CssHelper } from '~/app/shared/classes/css-helper';
5 import { DimlessBinaryPerSecondPipe } from '~/app/shared/pipes/dimless-binary-per-second.pipe';
6 import { DimlessBinaryPipe } from '~/app/shared/pipes/dimless-binary.pipe';
7 import { DimlessPipe } from '~/app/shared/pipes/dimless.pipe';
8 import { FormatterService } from '~/app/shared/services/formatter.service';
9 import { configureTestBed } from '~/testing/unit-test-helper';
10 import { DashboardAreaChartComponent } from './dashboard-area-chart.component';
11
12 describe('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 });