1 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { CephfsSubvolumegroupFormComponent } from './cephfs-subvolumegroup-form.component';
4 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
5 import { ToastrModule } from 'ngx-toastr';
6 import { SharedModule } from '~/app/shared/shared.module';
7 import { HttpClientTestingModule } from '@angular/common/http/testing';
8 import { ReactiveFormsModule } from '@angular/forms';
9 import { RouterTestingModule } from '@angular/router/testing';
11 describe('CephfsSubvolumegroupFormComponent', () => {
12 let component: CephfsSubvolumegroupFormComponent;
13 let fixture: ComponentFixture<CephfsSubvolumegroupFormComponent>;
15 beforeEach(async () => {
16 await TestBed.configureTestingModule({
17 declarations: [CephfsSubvolumegroupFormComponent],
18 providers: [NgbActiveModal],
21 ToastrModule.forRoot(),
23 HttpClientTestingModule,
26 }).compileComponents();
30 fixture = TestBed.createComponent(CephfsSubvolumegroupFormComponent);
31 component = fixture.componentInstance;
33 fixture.detectChanges();
36 it('should create', () => {
37 expect(component).toBeTruthy();