]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
4b5ab9a16bc9e330ea1441236f68d081410acd34
[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/dropdown';
6
7 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
8 import { SharedModule } from '../../../shared/shared.module';
9 import { CephfsClientsComponent } from './cephfs-clients.component';
10
11 describe('CephfsClientsComponent', () => {
12   let component: CephfsClientsComponent;
13   let fixture: ComponentFixture<CephfsClientsComponent>;
14
15   configureTestBed({
16     imports: [
17       RouterTestingModule,
18       BsDropdownModule.forRoot(),
19       SharedModule,
20       HttpClientTestingModule
21     ],
22     declarations: [CephfsClientsComponent],
23     providers: i18nProviders
24   });
25
26   beforeEach(() => {
27     fixture = TestBed.createComponent(CephfsClientsComponent);
28     component = fixture.componentInstance;
29     fixture.detectChanges();
30   });
31
32   it('should create', () => {
33     expect(component).toBeTruthy();
34   });
35 });