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