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