From 9b925712cbdedacdf8af947e929ca3975b56e3fa Mon Sep 17 00:00:00 2001 From: Danijel Andjelkovic Date: Sat, 5 Mar 2022 19:46:16 +0100 Subject: Added auth and auth guard services, included ngx-cookie-service and angular-jwt. Made a configuration file. --- frontend/src/app/auth-guard.service.spec.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 frontend/src/app/auth-guard.service.spec.ts (limited to 'frontend/src/app/auth-guard.service.spec.ts') diff --git a/frontend/src/app/auth-guard.service.spec.ts b/frontend/src/app/auth-guard.service.spec.ts new file mode 100644 index 00000000..35afd377 --- /dev/null +++ b/frontend/src/app/auth-guard.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { AuthGuardService } from './auth-guard.service'; + +describe('AuthGuardService', () => { + let service: AuthGuardService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(AuthGuardService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); -- cgit v1.2.3