]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
b9a3856ef8af3d252149150e1e94b4203108261a
[ceph.git] /
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2
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';
8
9 describe('CephfsSubvolumeGroupComponent', () => {
10   let component: CephfsSubvolumeGroupComponent;
11   let fixture: ComponentFixture<CephfsSubvolumeGroupComponent>;
12
13   beforeEach(async () => {
14     await TestBed.configureTestingModule({
15       declarations: [CephfsSubvolumeGroupComponent],
16       imports: [HttpClientTestingModule, SharedModule, ToastrModule.forRoot(), RouterTestingModule]
17     }).compileComponents();
18   });
19
20   beforeEach(() => {
21     fixture = TestBed.createComponent(CephfsSubvolumeGroupComponent);
22     component = fixture.componentInstance;
23     fixture.detectChanges();
24   });
25
26   it('should create', () => {
27     expect(component).toBeTruthy();
28   });
29 });