]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/prometheus-tabs/prometheus-tabs.component.spec.ts
import ceph quincy 17.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / prometheus / prometheus-tabs / prometheus-tabs.component.spec.ts
CommitLineData
f67539c2
TL
1import { ComponentFixture, TestBed } from '@angular/core/testing';
2import { RouterTestingModule } from '@angular/router/testing';
3
4import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
5
2a845540 6import { PrometheusAlertService } from '~/app/shared/services/prometheus-alert.service';
f67539c2
TL
7import { configureTestBed } from '~/testing/unit-test-helper';
8import { PrometheusTabsComponent } from './prometheus-tabs.component';
9
10describe('PrometheusTabsComponent', () => {
11 let component: PrometheusTabsComponent;
12 let fixture: ComponentFixture<PrometheusTabsComponent>;
13
14 configureTestBed({
15 imports: [RouterTestingModule, NgbNavModule],
2a845540
TL
16 declarations: [PrometheusTabsComponent],
17 providers: [{ provide: PrometheusAlertService, useValue: { alerts: [] } }]
f67539c2
TL
18 });
19
20 beforeEach(() => {
21 fixture = TestBed.createComponent(PrometheusTabsComponent);
22 component = fixture.componentInstance;
23 fixture.detectChanges();
24 });
25
26 it('should create', () => {
27 expect(component).toBeTruthy();
28 });
29});