]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
31e65be2ae4617e3b52abd28be486f064be37117
[ceph.git] /
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
4
5 import { BsDropdownModule } from 'ngx-bootstrap';
6
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';
11
12 describe('CephfsClientsComponent', () => {
13   let component: CephfsClientsComponent;
14   let fixture: ComponentFixture<CephfsClientsComponent>;
15
16   configureTestBed({
17     imports: [
18       RouterTestingModule,
19       BsDropdownModule.forRoot(),
20       SharedModule,
21       HttpClientTestingModule
22     ],
23     declarations: [CephfsClientsComponent],
24     providers: [CephfsService]
25   });
26
27   beforeEach(() => {
28     fixture = TestBed.createComponent(CephfsClientsComponent);
29     component = fixture.componentInstance;
30     fixture.detectChanges();
31   });
32
33   it('should create', () => {
34     expect(component).toBeTruthy();
35   });
36 });