1 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { CephfsSubvolumeListComponent } from './cephfs-subvolume-list.component';
4 import { HttpClientTestingModule } from '@angular/common/http/testing';
5 import { SharedModule } from '~/app/shared/shared.module';
6 import { ToastrModule } from 'ngx-toastr';
7 import { RouterTestingModule } from '@angular/router/testing';
9 describe('CephfsSubvolumeListComponent', () => {
10 let component: CephfsSubvolumeListComponent;
11 let fixture: ComponentFixture<CephfsSubvolumeListComponent>;
13 beforeEach(async () => {
14 await TestBed.configureTestingModule({
15 declarations: [CephfsSubvolumeListComponent],
16 imports: [HttpClientTestingModule, SharedModule, ToastrModule.forRoot(), RouterTestingModule]
17 }).compileComponents();
21 fixture = TestBed.createComponent(CephfsSubvolumeListComponent);
22 component = fixture.componentInstance;
23 fixture.detectChanges();
26 it('should create', () => {
27 expect(component).toBeTruthy();