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 { ToastrModule } from 'ngx-toastr';
8 import { LoadingPanelComponent } from '~/app/shared/components/loading-panel/loading-panel.component';
9 import { SharedModule } from '~/app/shared/shared.module';
10 import { configureTestBed } from '~/testing/unit-test-helper';
11 import { HostFormComponent } from './host-form.component';
13 describe('HostFormComponent', () => {
14 let component: HostFormComponent;
15 let fixture: ComponentFixture<HostFormComponent>;
21 HttpClientTestingModule,
24 ToastrModule.forRoot()
26 declarations: [HostFormComponent]
28 [LoadingPanelComponent]
32 fixture = TestBed.createComponent(HostFormComponent);
33 component = fixture.componentInstance;
34 fixture.detectChanges();
37 it('should create', () => {
38 expect(component).toBeTruthy();