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 { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
9 import { SharedModule } from '../../../shared/shared.module';
10 import { UserPasswordLoginFormComponent } from './user-password-login-form.component';
12 describe('UserPasswordLoginFormComponent', () => {
13 let component: UserPasswordLoginFormComponent;
14 let fixture: ComponentFixture<UserPasswordLoginFormComponent>;
19 HttpClientTestingModule,
22 ToastrModule.forRoot(),
25 declarations: [UserPasswordLoginFormComponent],
26 providers: i18nProviders
32 fixture = TestBed.createComponent(UserPasswordLoginFormComponent);
33 component = fixture.componentInstance;
34 fixture.detectChanges();
37 it('should create', () => {
38 expect(component).toBeTruthy();