]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
7901a05cb33f91cd4eb624498c2fc6951c39d5ba
[ceph.git] /
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { ToastModule } from 'ng2-toastr';
5 import { TabsModule } from 'ngx-bootstrap/tabs';
6
7 import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
8 import { SharedModule } from '../../../../shared/shared.module';
9 import { PrometheusListComponent } from './prometheus-list.component';
10
11 describe('PrometheusListComponent', () => {
12   let component: PrometheusListComponent;
13   let fixture: ComponentFixture<PrometheusListComponent>;
14
15   configureTestBed({
16     imports: [HttpClientTestingModule, TabsModule.forRoot(), ToastModule.forRoot(), SharedModule],
17     declarations: [PrometheusListComponent],
18     providers: [i18nProviders]
19   });
20
21   beforeEach(() => {
22     fixture = TestBed.createComponent(PrometheusListComponent);
23     component = fixture.componentInstance;
24     fixture.detectChanges();
25   });
26
27   it('should create', () => {
28     expect(component).toBeTruthy();
29   });
30 });