import { TestBed } from '@angular/core/testing' ; import { AuthInterceptor } from './auth.interceptor' ; describe ( 'AuthInterceptor' , ( ) => { beforeEach ( ( ) => TestBed . configureTestingModule ( { providers : [ AuthInterceptor ] } ) ) ; it ( 'should be created' , ( ) => { const interceptor = TestBed . inject ( AuthInterceptor ) ; expect ( interceptor ) . toBeTruthy ( ) ; } ) ; } ) ;