import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { UserLoginComponent } from './user-login.component'; describe('UserLoginComponent', () => { let component: UserLoginComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ UserLoginComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(UserLoginComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });