import { HttpClient } from '@angular/common/http'; import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core'; import { TestBed, inject } from '@angular/core/testing'; import { ConfigService } from '@arrow/bom/config'; import { LoggerService } from '@arrow/bom/logger'; import { AuthInterceptorService } from './auth-interceptor.service'; import { AuthTokenService } from './auth-token.service'; import { AuthService } from './auth.service'; describe('AuthInterceptorService', () => { beforeEach(() => { TestBed.configureTestingModule({ schemas: [NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA], providers: [ AuthInterceptorService, { provide: ConfigService, useValue: {} }, { provide: AuthService, useValue: {} }, { provide: HttpClient, useValue: {} }, { provide: LoggerService, useValue: {} }, { provide: AuthTokenService, useValue: {} } ] }); }); it('should be created', inject([AuthInterceptorService], (service: AuthInterceptorService) => { expect(service).toBeTruthy(); })); });