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