summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.spec.ts
blob: 3fb31024e9bcd090309a9072cf4dfaaf7d0e3928 (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
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { CephReleaseNamePipe } from '~/app/shared/pipes/ceph-release-name.pipe';
import { configureTestBed } from '~/testing/unit-test-helper';
import { DocComponent } from './doc.component';

describe('DocComponent', () => {
  let component: DocComponent;
  let fixture: ComponentFixture<DocComponent>;

  configureTestBed({
    declarations: [DocComponent],
    imports: [HttpClientTestingModule],
    providers: [CephReleaseNamePipe]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(DocComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});