diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts new file mode 100644 index 000000000..2a3613474 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts @@ -0,0 +1,29 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; + +import { CephReleaseNamePipe } from '~/app/shared/pipes/ceph-release-name.pipe'; +import { SummaryService } from '~/app/shared/services/summary.service'; +import { configureTestBed } from '~/testing/unit-test-helper'; +import { ComponentsModule } from '../components.module'; +import { OrchestratorDocPanelComponent } from './orchestrator-doc-panel.component'; + +describe('OrchestratorDocPanelComponent', () => { + let component: OrchestratorDocPanelComponent; + let fixture: ComponentFixture<OrchestratorDocPanelComponent>; + + configureTestBed({ + imports: [ComponentsModule, HttpClientTestingModule, RouterTestingModule], + providers: [CephReleaseNamePipe, SummaryService] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(OrchestratorDocPanelComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |