Chore: Upgrade to Angular v18
Chore: Upgrade to Python 3.12 Chore: Upgrade to psycopg3
This commit is contained in:
16
bookie/src/app/core/auth.interceptor.spec.ts
Normal file
16
bookie/src/app/core/auth.interceptor.spec.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { HttpInterceptorFn } from '@angular/common/http';
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { authInterceptor } from './auth.interceptor';
|
||||
|
||||
describe('authInterceptor', () => {
|
||||
const interceptor: HttpInterceptorFn = (req, next) => TestBed.runInInjectionContext(() => authInterceptor(req, next));
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(interceptor).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user