1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
5 import { TabsModule } from 'ngx-bootstrap/tabs';
6 import { ToastrModule } from 'ngx-toastr';
8 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
9 import { TaskListService } from '../../../shared/services/task-list.service';
10 import { SharedModule } from '../../../shared/shared.module';
11 import { RbdTabsComponent } from '../rbd-tabs/rbd-tabs.component';
12 import { RbdNamespaceListComponent } from './rbd-namespace-list.component';
14 describe('RbdNamespaceListComponent', () => {
15 let component: RbdNamespaceListComponent;
16 let fixture: ComponentFixture<RbdNamespaceListComponent>;
19 declarations: [RbdNamespaceListComponent, RbdTabsComponent],
22 HttpClientTestingModule,
24 ToastrModule.forRoot(),
27 providers: [TaskListService, i18nProviders]
31 fixture = TestBed.createComponent(RbdNamespaceListComponent);
32 component = fixture.componentInstance;
33 fixture.detectChanges();
36 it('should create', () => {
37 expect(component).toBeTruthy();