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