Files
adastra_app/src/app/core/guards/noauth.guard.spec.ts
T

18 lines
469 B
TypeScript

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