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