import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
+import { PrometheusAlertService } from '~/app/shared/services/prometheus-alert.service';
import { configureTestBed } from '~/testing/unit-test-helper';
import { PrometheusTabsComponent } from './prometheus-tabs.component';
configureTestBed({
imports: [RouterTestingModule, NgbNavModule],
- declarations: [PrometheusTabsComponent]
+ declarations: [PrometheusTabsComponent],
+ providers: [{ provide: PrometheusAlertService, useValue: { alerts: [] } }]
});
beforeEach(() => {