Files
Nexum/src/app/guards/auth-needed-guard.spec.ts
2026-04-10 21:57:29 +02:00

18 lines
483 B
TypeScript

import { TestBed } from '@angular/core/testing';
import { CanActivateFn } from '@angular/router';
import { authNeededGuard } from './auth-needed-guard';
describe('authNeededGuard', () => {
const executeGuard: CanActivateFn = (...guardParameters) =>
TestBed.runInInjectionContext(() => authNeededGuard(...guardParameters));
beforeEach(() => {
TestBed.configureTestingModule({});
});
it('should be created', () => {
expect(executeGuard).toBeTruthy();
});
});