import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { By } from '@angular/platform-browser' ; import { SignupComponent } from './signup.component' ; describe ( 'SignupComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ SignupComponent ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( SignupComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; } ) ;