1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { Component, Input } from '@angular/core';
3 import { ComponentFixture, TestBed } from '@angular/core/testing';
4 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
6 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
7 import { CdTableSelection } from '../../../shared/models/cd-table-selection';
8 import { SharedModule } from '../../../shared/shared.module';
9 import { CephfsListComponent } from './cephfs-list.component';
11 @Component({ selector: 'cd-cephfs-tabs', template: '' })
12 class CephfsTabsStubComponent {
14 selection: CdTableSelection;
17 describe('CephfsListComponent', () => {
18 let component: CephfsListComponent;
19 let fixture: ComponentFixture<CephfsListComponent>;
22 imports: [BrowserAnimationsModule, SharedModule, HttpClientTestingModule],
23 declarations: [CephfsListComponent, CephfsTabsStubComponent],
24 providers: i18nProviders
28 fixture = TestBed.createComponent(CephfsListComponent);
29 component = fixture.componentInstance;
30 fixture.detectChanges();
33 it('should create', () => {
34 expect(component).toBeTruthy();