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';
10 import { configureTestBed } from '~/testing/unit-test-helper';
12 describe('CephfsSubvolumegroupFormComponent', () => {
13 let component: CephfsSubvolumegroupFormComponent;
14 let fixture: ComponentFixture<CephfsSubvolumegroupFormComponent>;
17 declarations: [CephfsSubvolumegroupFormComponent],
18 providers: [NgbActiveModal],
21 ToastrModule.forRoot(),
23 HttpClientTestingModule,
29 fixture = TestBed.createComponent(CephfsSubvolumegroupFormComponent);
30 component = fixture.componentInstance;
32 fixture.detectChanges();
35 it('should create', () => {
36 expect(component).toBeTruthy();