import { TestBed } from '@angular/core/testing' ; import { AuthGuard } from './auth.guard' ; describe ( 'AuthGuard' , ( ) => { let guard ; beforeEach ( ( ) => { TestBed . configureTestingModule ( { } ) ; guard = TestBed . inject ( AuthGuard ) ; } ) ; it ( 'should be created' , ( ) => { expect ( guard ) . toBeTruthy ( ) ; } ) ; } ) ;