1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { UserDetailsFormComponent } from './user-details-form.component';
4 import { HttpClientTestingModule } from '@angular/common/http/testing';
5 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6 import { NgMaterialModule } from 'src/app/ng-material-module';
7 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
8 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
10 describe('UserDetailsFormComponent', () => {
11 let component: UserDetailsFormComponent;
12 let fixture: ComponentFixture<UserDetailsFormComponent>;
14 beforeEach(async(() => {
15 TestBed.configureTestingModule({
16 declarations: [ UserDetailsFormComponent ],
17 imports:[HttpClientTestingModule,FormsModule,ReactiveFormsModule,NgMaterialModule,BrowserAnimationsModule],
18 providers:[NgbActiveModal]
24 fixture = TestBed.createComponent(UserDetailsFormComponent);
25 component = fixture.componentInstance;
26 fixture.detectChanges();
29 it('should create', () => {
30 expect(component).toBeTruthy();