1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { ReactiveFormsModule } from '@angular/forms';
5 import { ToastModule } from 'ng2-toastr';
6 import { BsModalRef, BsModalService } from 'ngx-bootstrap';
8 import { ApiModule } from '../../../shared/api/api.module';
9 import { ComponentsModule } from '../../../shared/components/components.module';
10 import { AuthStorageService } from '../../../shared/services/auth-storage.service';
11 import { ServicesModule } from '../../../shared/services/services.module';
12 import { RbdSnapshotFormComponent } from './rbd-snapshot-form.component';
14 describe('RbdSnapshotFormComponent', () => {
15 let component: RbdSnapshotFormComponent;
16 let fixture: ComponentFixture<RbdSnapshotFormComponent>;
18 beforeEach(async(() => {
19 TestBed.configureTestingModule({
23 HttpClientTestingModule,
28 declarations: [ RbdSnapshotFormComponent ],
29 providers: [ BsModalRef, BsModalService, AuthStorageService ]
35 fixture = TestBed.createComponent(RbdSnapshotFormComponent);
36 component = fixture.componentInstance;
37 fixture.detectChanges();
40 it('should create', () => {
41 expect(component).toBeTruthy();