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