]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / mirroring / pool-list / pool-list.component.spec.ts
CommitLineData
11fdf7f2
TL
1import { HttpClientTestingModule } from '@angular/common/http/testing';
2import { ComponentFixture, TestBed } from '@angular/core/testing';
f67539c2 3import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
11fdf7f2
TL
4import { RouterTestingModule } from '@angular/router/testing';
5
494da23a 6import { ToastrModule } from 'ngx-toastr';
11fdf7f2 7
f67539c2
TL
8import { SharedModule } from '~/app/shared/shared.module';
9import { configureTestBed } from '~/testing/unit-test-helper';
11fdf7f2
TL
10import { MirrorHealthColorPipe } from '../mirror-health-color.pipe';
11import { PoolListComponent } from './pool-list.component';
12
13describe('PoolListComponent', () => {
14 let component: PoolListComponent;
15 let fixture: ComponentFixture<PoolListComponent>;
16
17 configureTestBed({
18 declarations: [PoolListComponent, MirrorHealthColorPipe],
19 imports: [
e306af50 20 BrowserAnimationsModule,
11fdf7f2 21 SharedModule,
11fdf7f2
TL
22 HttpClientTestingModule,
23 RouterTestingModule,
494da23a 24 ToastrModule.forRoot()
f67539c2 25 ]
11fdf7f2
TL
26 });
27
28 beforeEach(() => {
29 fixture = TestBed.createComponent(PoolListComponent);
30 component = fixture.componentInstance;
31 fixture.detectChanges();
32 });
33
34 it('should create', () => {
35 expect(component).toBeTruthy();
36 });
37});