1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { ReactiveFormsModule } from '@angular/forms';
4 import { RouterTestingModule } from '@angular/router/testing';
6 import { ToastModule } from 'ng2-toastr';
7 import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
9 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
10 import { ApiModule } from '../../../shared/api/api.module';
11 import { ComponentsModule } from '../../../shared/components/components.module';
12 import { AuthStorageService } from '../../../shared/services/auth-storage.service';
13 import { RbdSnapshotFormComponent } from './rbd-snapshot-form.component';
15 describe('RbdSnapshotFormComponent', () => {
16 let component: RbdSnapshotFormComponent;
17 let fixture: ComponentFixture<RbdSnapshotFormComponent>;
23 HttpClientTestingModule,
25 ToastModule.forRoot(),
28 declarations: [RbdSnapshotFormComponent],
29 providers: [BsModalRef, BsModalService, AuthStorageService, i18nProviders]
33 fixture = TestBed.createComponent(RbdSnapshotFormComponent);
34 component = fixture.componentInstance;
35 fixture.detectChanges();
38 it('should create', () => {
39 expect(component).toBeTruthy();