]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.spec.ts
import 15.2.0 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / alert-panel / alert-panel.component.spec.ts
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2 import { AlertComponent, AlertConfig } from 'ngx-bootstrap/alert';
3
4 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
5 import { AlertPanelComponent } from './alert-panel.component';
6
7 describe('AlertPanelComponent', () => {
8 let component: AlertPanelComponent;
9 let fixture: ComponentFixture<AlertPanelComponent>;
10
11 configureTestBed({
12 declarations: [AlertPanelComponent, AlertComponent],
13 providers: [AlertConfig, i18nProviders]
14 });
15
16 beforeEach(() => {
17 fixture = TestBed.createComponent(AlertPanelComponent);
18 component = fixture.componentInstance;
19 fixture.detectChanges();
20 });
21
22 it('should create', () => {
23 expect(component).toBeTruthy();
24 });
25 });