File size: 501 Bytes
e4ab6d0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import { TestBed } from '@angular/core/testing';
import { CanActivateFn } from '@angular/router';
import { authenticationGuard } from './authentication.guard';
describe('authenticationGuard', () => {
const executeGuard: CanActivateFn = (...guardParameters) =>
TestBed.runInInjectionContext(() => authenticationGuard(...guardParameters));
beforeEach(() => {
TestBed.configureTestingModule({});
});
it('should be created', () => {
expect(executeGuard).toBeTruthy();
});
});
|