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