source: bus-n-go-pavel-216049/bus-n-go-frontend/src/app/guards/auth.guard.spec.ts@ dedbf60

Last change on this file since dedbf60 was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 461 bytes
Line 
1import { TestBed } from '@angular/core/testing';
2import { CanActivateFn } from '@angular/router';
3
4import { authGuard } from './auth.guard';
5
6describe('authGuard', () => {
7 const executeGuard: CanActivateFn = (...guardParameters) =>
8 TestBed.runInInjectionContext(() => authGuard(...guardParameters));
9
10 beforeEach(() => {
11 TestBed.configureTestingModule({});
12 });
13
14 it('should be created', () => {
15 expect(executeGuard).toBeTruthy();
16 });
17});
Note: See TracBrowser for help on using the repository browser.