17 lines
453 B
TypeScript
17 lines
453 B
TypeScript
import { TestBed } from '@angular/core/testing';
|
|
|
|
import { ErrorHandlerInterceptor } from './error-handler.interceptor';
|
|
|
|
describe('ErrorHandlerInterceptor', () => {
|
|
beforeEach(() => TestBed.configureTestingModule({
|
|
providers: [
|
|
ErrorHandlerInterceptor
|
|
]
|
|
}));
|
|
|
|
it('should be created', () => {
|
|
const interceptor: ErrorHandlerInterceptor = TestBed.inject(ErrorHandlerInterceptor);
|
|
expect(interceptor).toBeTruthy();
|
|
});
|
|
});
|