1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
5 import { BsDropdownModule } from 'ngx-bootstrap';
7 import { CephfsService } from '../../../shared/api/cephfs.service';
8 import { SharedModule } from '../../../shared/shared.module';
9 import { configureTestBed } from '../../../shared/unit-test-helper';
10 import { CephfsClientsComponent } from './cephfs-clients.component';
12 describe('CephfsClientsComponent', () => {
13 let component: CephfsClientsComponent;
14 let fixture: ComponentFixture<CephfsClientsComponent>;
19 BsDropdownModule.forRoot(),
21 HttpClientTestingModule
23 declarations: [CephfsClientsComponent],
24 providers: [CephfsService]
28 fixture = TestBed.createComponent(CephfsClientsComponent);
29 component = fixture.componentInstance;
30 fixture.detectChanges();
33 it('should create', () => {
34 expect(component).toBeTruthy();