]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
ad210968aa5be2be802837253873492f8b1b3144
[ceph.git] /
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2 import { HttpClientTestingModule } from '@angular/common/http/testing';
3 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
4 import { MultiClusterComponent } from './multi-cluster.component';
5 import { SharedModule } from '~/app/shared/shared.module';
6 import { DimlessBinaryPipe } from '~/app/shared/pipes/dimless-binary.pipe';
7
8 describe('MultiClusterComponent', () => {
9   let component: MultiClusterComponent;
10   let fixture: ComponentFixture<MultiClusterComponent>;
11
12   beforeEach(async () => {
13     await TestBed.configureTestingModule({
14       imports: [HttpClientTestingModule, SharedModule],
15       declarations: [MultiClusterComponent],
16       providers: [NgbActiveModal, DimlessBinaryPipe]
17     }).compileComponents();
18
19     fixture = TestBed.createComponent(MultiClusterComponent);
20     component = fixture.componentInstance;
21     fixture.detectChanges();
22   });
23
24   it('should create', () => {
25     expect(component).toBeTruthy();
26   });
27 });