]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/blob
f09bd49d15264c6e6af28aed53b753973b0b3fd0
[ceph-ci.git] /
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
5 import { PrometheusService } from '../../../../shared/api/prometheus.service';
6 import { SettingsService } from '../../../../shared/api/settings.service';
7 import { SharedModule } from '../../../../shared/shared.module';
8 import { RulesListComponent } from './rules-list.component';
9
10 describe('RulesListComponent', () => {
11   let component: RulesListComponent;
12   let fixture: ComponentFixture<RulesListComponent>;
13
14   configureTestBed({
15     declarations: [RulesListComponent],
16     imports: [HttpClientTestingModule, SharedModule],
17     providers: [PrometheusService, SettingsService, i18nProviders]
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(RulesListComponent);
22     component = fixture.componentInstance;
23     fixture.detectChanges();
24   });
25
26   it('should create', () => {
27     expect(component).toBeTruthy();
28   });
29 });