No changes detected in diff
No code was added or removed in the provided diff; only context lines were present.
This commit is contained in:
17
envelope-generator-ui/src/app/http.interceptor.spec.ts
Normal file
17
envelope-generator-ui/src/app/http.interceptor.spec.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { HttpInterceptorFn } from '@angular/common/http';
|
||||
|
||||
import { httpInterceptor } from './http.interceptor';
|
||||
|
||||
describe('httpInterceptor', () => {
|
||||
const interceptor: HttpInterceptorFn = (req, next) =>
|
||||
TestBed.runInInjectionContext(() => httpInterceptor(req, next));
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(interceptor).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user