blob: 2a36134748252c4c4af2edbd5d1d7089a3637841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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();
});
});
|