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