]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.spec.ts
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / mirroring / daemon-list / daemon-list.component.spec.ts
CommitLineData
11fdf7f2
TL
1import { HttpClientTestingModule } from '@angular/common/http/testing';
2import { ComponentFixture, TestBed } from '@angular/core/testing';
e306af50 3import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
11fdf7f2
TL
4
5import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
6import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
7import { TabsModule } from 'ngx-bootstrap/tabs';
8
9import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
10import { SharedModule } from '../../../../shared/shared.module';
11import { MirrorHealthColorPipe } from '../mirror-health-color.pipe';
12import { DaemonListComponent } from './daemon-list.component';
13
14describe('DaemonListComponent', () => {
15 let component: DaemonListComponent;
16 let fixture: ComponentFixture<DaemonListComponent>;
17
18 configureTestBed({
19 declarations: [DaemonListComponent, MirrorHealthColorPipe],
20 imports: [
e306af50 21 BrowserAnimationsModule,
11fdf7f2
TL
22 SharedModule,
23 BsDropdownModule.forRoot(),
24 TabsModule.forRoot(),
25 ProgressbarModule.forRoot(),
26 HttpClientTestingModule
27 ],
28 providers: i18nProviders
29 });
30
31 beforeEach(() => {
32 fixture = TestBed.createComponent(DaemonListComponent);
33 component = fixture.componentInstance;
34 fixture.detectChanges();
35 });
36
37 it('should create', () => {
38 expect(component).toBeTruthy();
39 });
40});