diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts new file mode 100644 index 000000000..d778d2552 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts @@ -0,0 +1,30 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; + +import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap'; + +import { SharedModule } from '~/app/shared/shared.module'; +import { configureTestBed } from '~/testing/unit-test-helper'; +import { RbdTabsComponent } from '../rbd-tabs/rbd-tabs.component'; +import { RbdPerformanceComponent } from './rbd-performance.component'; + +describe('RbdPerformanceComponent', () => { + let component: RbdPerformanceComponent; + let fixture: ComponentFixture<RbdPerformanceComponent>; + + configureTestBed({ + imports: [HttpClientTestingModule, RouterTestingModule, SharedModule, NgbNavModule], + declarations: [RbdPerformanceComponent, RbdTabsComponent] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(RbdPerformanceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |