cic-staff-client/src/app/_interceptors/error.interceptor.spec.ts
Spencer Ofwiti d76a0b3196 Add error dialog box.
- Add service for handling creation of error dialog.
- Refactor directory layout.
2021-03-15 14:54:46 +03:00

17 lines
427 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();
});
});