]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
892913dab6bea0e54d9f4aa43d5e86d212c667a3
[ceph-ci.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 { DimlessBinaryPipe } from '~/app/shared/pipes/dimless-binary.pipe';
6 import { configureTestBed } from '~/testing/unit-test-helper';
7 import { DashboardPieComponent } from './dashboard-pie.component';
8
9 describe('DashboardPieComponent', () => {
10   let component: DashboardPieComponent;
11   let fixture: ComponentFixture<DashboardPieComponent>;
12
13   configureTestBed({
14     schemas: [NO_ERRORS_SCHEMA],
15     declarations: [DashboardPieComponent],
16     providers: [CssHelper, DimlessBinaryPipe]
17   });
18
19   beforeEach(() => {
20     fixture = TestBed.createComponent(DashboardPieComponent);
21     component = fixture.componentInstance;
22   });
23
24   it('should create', () => {
25     expect(component).toBeTruthy();
26   });
27 });